#007FFF color codes
- HEX
- #007FFF
- HEX8
- #007FFFFF
- HEX8 (Android)
- #FF007FFF
- RGB
- rgb(0, 127, 255)
- RGB (%)
- 0%, 50%, 100%
- HSL
- hsl(210, 100%, 50%)
- HSV / HSB
- hsv(210, 100%, 100%)
- CMYK
- cmyk(100%, 50%, 0%, 0%)
- OKLCH
- oklch(0.6131 0.212 256.33)
- OKLCH (%)
- oklch(61.31% 0.212 256.33)
- Decimal
- 32767
What color is #007FFF?
#007FFF sits at 61% lightness and 0.212 chroma in OKLCH, hue 256.33°. Its nearest named color is DodgerBlue.
Shades and tints of #007FFF
Tints
Shades
Tones
#007FFF color harmonies
Complementary
Analogous
Triadic
Split-complementary
Tetradic
Square
Monochromatic
Using #007FFF in CSS
.text { color: #007FFF; }
.background { background-color: #007FFF; }
.border { border: 2px solid #007FFF; }
/* Modern, perceptually uniform */
.text { color: oklch(0.6131 0.212 256.33); }
/* #007FFF at 50% transparency */
.overlay { background-color: #007FFF80; }Is #007FFF accessible?
#007FFF on white text scores 3.83:1; on black text it scores 5.48:1. Black text passes WCAG AA for normal text on #007FFF. Recommended text color on a #007FFF background: black.
A 5.48:1 vs black
A 3.83:1 vs white
- AA normal ≥ 4.5 Pass
- AA large ≥ 3 Pass
- AAA normal ≥ 7 Fail
- AAA large ≥ 4.5 Pass
Recommended text color: black
CSS
contrast-color() contrast-color(#007FFF) → black APCA Lc experimental 70.4 Lc · large / secondary text (white text)
WCAG 2.1 AA/AAA is the compliance floor; APCA is an optional readability metric.
Related colors
Nearest featured color: Blue #0000FF. See more in the blue family on the colors hub.
Frequently asked questions
- What color is #007FFF?
- #007FFF is closest to DodgerBlue. In RGB it is rgb(0, 127, 255), and in HSL hsl(210, 100%, 50%).
- What is #007FFF in RGB?
- #007FFF converts to rgb(0, 127, 255) — red 0, green 127, blue 255.
- What text color is readable on #007FFF?
- Black text — it has the higher contrast ratio (5.48:1) against #007FFF. Black text passes WCAG AA for normal text on #007FFF.