#2B507B#2B507B
#2B507B is a dark, moderate cyan. Relative luminance 0.077; OKLCH L 42.5% C 0.084 H 253.4°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).
Color values
| HEX | #2B507B |
|---|---|
| RGB | rgb(43, 80, 123) |
| HSL | hsl(212, 48%, 33%) |
| HSV | hsv(212, 65%, 48%) |
| CMYK | cmyk(65%, 35%, 0%, 51.8%) |
| CIE-LAB | lab(33.31, 1.34, -28.34) |
| CIE-LCH | lch(33.31, 28.38, 272.71°) |
| OKLab | oklab(42.5% -0.0238 -0.0802) |
| OKLCH | oklch(42.5% 0.084 253.4) |
| XYZ | xyz(7.4388, 7.6803, 19.8255) |
| Luminance | 0.0768 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dusk Blue
#26538D
ΔE00 2.53
Light Navy
#155084
ΔE00 2.57
Light Navy Blue
#2E5A88
ΔE00 3.60
Cobalt (survey)
#1E488F
ΔE00 4.11
Prussian Blue
#004577
ΔE00 4.46
Twilight Blue
#0A437A
ΔE00 4.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B507B #7B562B
analogous
#2B787B #2B507B #2E2B7B
triadic
#2B507B #7B2B50 #507B2B
tetradic
#2B507B #7B2B78 #7B562B #2B7B2E
square
#2B507B #7B2B78 #7B562B #2B7B2E
split-complementary
#2B507B #7B2E2B #787B2B
monochromatic
#0B1520 #1B334E #2B507B #3B6DA8 #5B8CC6
Accessibility & contrast
On white
8.28
#2B507B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.54
#2B507B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B507B
8.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B507B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B507B | 1.00 | 8.28 | 2.54 | 8.28 |
| #FFFFFF | 8.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E537D
Deuteranopia (green-blind)
#334B7A
Tritanopia (blue-blind)
#005A60
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2b507b; /* rgb */ color: rgb(43, 80, 123); /* oklch */ color: oklch(42.5% 0.084 253.4);
Tailwind
colors: {
custom: {
50: '#6d80a1',
500: '#2b507b',
950: '#000000',
},
}SCSS
$custom: #2b507b; $custom-light: #6d80a1; $custom-dark: #000000;
JSON
{
"hex": "#2b507b",
"rgb": {
"r": 43,
"g": 80,
"b": 123
},
"hsl": {
"h": 212.25,
"s": 48.193,
"l": 32.549
},
"oklch": {
"l": 0.42503,
"c": 0.08368,
"h": 253.4
},
"luminance": 0.07681
}Semantic roles & 50–950 ramp
primary
#2B507B
secondary
#AB8456
accent
#9950D8
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#070A0F
muted
#7A7C7E