#2B5F7F#2B5F7F
#2B5F7F is a mid, moderate cyan. Relative luminance 0.102; OKLCH L 46.5% C 0.076 H 238.4°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).
Color values
| HEX | #2B5F7F |
|---|---|
| RGB | rgb(43, 95, 127) |
| HSL | hsl(203, 49%, 33%) |
| HSV | hsv(203, 66%, 50%) |
| CMYK | cmyk(66.1%, 25.2%, 0%, 50.2%) |
| CIE-LAB | lab(38.25, -6.64, -23.07) |
| CIE-LCH | lch(38.25, 24.01, 253.94°) |
| OKLab | oklab(46.46% -0.0398 -0.0648) |
| OKLCH | oklch(46.46% 0.076 238.4) |
| XYZ | xyz(8.9178, 10.2294, 21.5791) |
| Luminance | 0.1023 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Ugly Blue
#31668A
ΔE00 2.79
Peacock Blue
#016795
ΔE00 4.33
Denim (survey)
#3B638C
ΔE00 4.85
Deep Sea Blue
#015482
ΔE00 5.02
Light Navy Blue
#2E5A88
ΔE00 5.12
Light Navy
#155084
ΔE00 6.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B5F7F #7F4B2B
analogous
#2B7F75 #2B5F7F #2B357F
triadic
#2B5F7F #7F2B5F #5F7F2B
tetradic
#2B5F7F #752B7F #7F4B2B #357F2B
square
#2B5F7F #752B7F #7F4B2B #357F2B
split-complementary
#2B5F7F #7F2B35 #7F752B
monochromatic
#0C1B24 #1C3D51 #2B5F7F #3A81AD #5C9FC8
Accessibility & contrast
On white
6.89
#2B5F7F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.05
#2B5F7F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B5F7F
6.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B5F7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B5F7F | 1.00 | 6.89 | 3.05 | 6.89 |
| #FFFFFF | 6.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#505F80
Deuteranopia (green-blind)
#45567E
Tritanopia (blue-blind)
#00676A
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #2b5f7f; /* rgb */ color: rgb(43, 95, 127); /* oklch */ color: oklch(46.5% 0.076 238.4);
Tailwind
colors: {
custom: {
50: '#6e8ca4',
500: '#2b5f7f',
950: '#000000',
},
}SCSS
$custom: #2b5f7f; $custom-light: #6e8ca4; $custom-dark: #000000;
JSON
{
"hex": "#2b5f7f",
"rgb": {
"r": 43,
"g": 95,
"b": 127
},
"hsl": {
"h": 202.857,
"s": 49.412,
"l": 33.333
},
"oklch": {
"l": 0.46464,
"c": 0.07602,
"h": 238.4
},
"luminance": 0.1023
}Semantic roles & 50–950 ramp
primary
#2B5F7F
secondary
#AE7958
accent
#834FD9
background
#F6F8FA
surface
#ECF0F4
border
#C7CBCE
text
#080C0F
muted
#7B7D7F