#2D7FBF#2D7FBF
#2D7FBF is a mid, vivid cyan. Relative luminance 0.195; OKLCH L 57.8% C 0.126 H 246.2°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #2D7FBF |
|---|---|
| RGB | rgb(45, 127, 191) |
| HSL | hsl(206, 62%, 46%) |
| HSV | hsv(206, 76%, 75%) |
| CMYK | cmyk(76.4%, 33.5%, 0%, 25.1%) |
| CIE-LAB | lab(51.26, -2.41, -40.45) |
| CIE-LCH | lch(51.26, 40.52, 266.59°) |
| OKLab | oklab(57.79% -0.0506 -0.1149) |
| OKLCH | oklch(57.79% 0.126 246.2) |
| XYZ | xyz(18.0719, 19.4961, 52.0908) |
| Luminance | 0.1950 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Steel Blue
#4682B4
ΔE00 2.44
Cerulean (survey)
#0485D1
ΔE00 2.84
Cool Blue
#4984B8
ΔE00 2.92
Water Blue
#0E87CC
ΔE00 3.45
Bluish
#2976BB
ΔE00 3.48
Windows Blue
#3778BF
ΔE00 3.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D7FBF #BF6D2D
analogous
#2DBFB6 #2D7FBF #2D36BF
triadic
#2D7FBF #BF2D7F #7FBF2D
tetradic
#2D7FBF #B62DBF #BF6D2D #36BF2D
square
#2D7FBF #B62DBF #BF6D2D #36BF2D
split-complementary
#2D7FBF #BF2D36 #BFB62D
monochromatic
#163D5C #215E8D #2D7FBF #539DD6 #84B9E2
Accessibility & contrast
On white
4.29
#2D7FBF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.90
#2D7FBF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2D7FBF
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D7FBF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2D7FBF | 1.00 | 4.29 | 4.90 | 4.90 |
| #FFFFFF | 4.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6182C2
Deuteranopia (green-blind)
#4D74BE
Tritanopia (blue-blind)
#008E96
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #2d7fbf; /* rgb */ color: rgb(45, 127, 191); /* oklch */ color: oklch(57.8% 0.126 246.2);
Tailwind
colors: {
custom: {
50: '#7ba3d2',
500: '#2d7fbf',
950: '#000000',
},
}SCSS
$custom: #2d7fbf; $custom-light: #7ba3d2; $custom-dark: #000000;
JSON
{
"hex": "#2d7fbf",
"rgb": {
"r": 45,
"g": 127,
"b": 191
},
"hsl": {
"h": 206.301,
"s": 61.864,
"l": 46.275
},
"oklch": {
"l": 0.57789,
"c": 0.12556,
"h": 246.2
},
"luminance": 0.19498
}Semantic roles & 50–950 ramp
primary
#2D7FBF
secondary
#CB9F7C
accent
#8A43E5
background
#F8FAFC
surface
#EFF3F9
border
#CACDD2
text
#0B0F14
muted
#7C7F82