#2F508F#2F508F
#2F508F is a dark, moderate blue. Relative luminance 0.083; OKLCH L 44.0% C 0.111 H 262.0°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).
Color values
| HEX | #2F508F |
|---|---|
| RGB | rgb(47, 80, 143) |
| HSL | hsl(219, 51%, 37%) |
| HSV | hsv(219, 67%, 56%) |
| CMYK | cmyk(67.1%, 44.1%, 0%, 43.9%) |
| CIE-LAB | lab(34.65, 9.56, -38.50) |
| CIE-LCH | lch(34.65, 39.67, 283.94°) |
| OKLab | oklab(43.97% -0.0154 -0.1099) |
| OKLCH | oklch(43.97% 0.111 262) |
| XYZ | xyz(8.9971, 8.3240, 27.1138) |
| Luminance | 0.0833 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 2.39
Cobalt (survey)
#1E488F
ΔE00 2.78
Denim Blue
#3B5B92
ΔE00 3.66
Light Navy
#155084
ΔE00 4.54
Light Navy Blue
#2E5A88
ΔE00 4.57
Cobalt
#0047AB
ΔE00 5.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F508F #8F6E2F
analogous
#2F808F #2F508F #3E2F8F
triadic
#2F508F #8F2F50 #508F2F
tetradic
#2F508F #8F2F80 #8F6E2F #2F8F3E
square
#2F508F #8F2F80 #8F6E2F #2F8F3E
split-complementary
#2F508F #8F3E2F #808F2F
monochromatic
#111C33 #203661 #2F508F #3E6ABD #6A8DCE
Accessibility & contrast
On white
7.88
#2F508F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#2F508F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F508F
7.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F508F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F508F | 1.00 | 7.88 | 2.67 | 7.88 |
| #FFFFFF | 7.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#325691
Deuteranopia (green-blind)
#234D8E
Tritanopia (blue-blind)
#005E68
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #2f508f; /* rgb */ color: rgb(47, 80, 143); /* oklch */ color: oklch(44.0% 0.111 262.0);
Tailwind
colors: {
custom: {
50: '#7280b0',
500: '#2f508f',
950: '#000000',
},
}SCSS
$custom: #2f508f; $custom-light: #7280b0; $custom-dark: #000000;
JSON
{
"hex": "#2f508f",
"rgb": {
"r": 47,
"g": 80,
"b": 143
},
"hsl": {
"h": 219.375,
"s": 50.526,
"l": 37.255
},
"oklch": {
"l": 0.43971,
"c": 0.11095,
"h": 262
},
"luminance": 0.08325
}Semantic roles & 50–950 ramp
primary
#2F508F
secondary
#B59A65
accent
#AA4EDA
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#090A10
muted
#7B7C7F