#2F508C#2F508C
#2F508C is a dark, moderate blue. Relative luminance 0.082; OKLCH L 43.8% C 0.107 H 261.4°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).
Color values
| HEX | #2F508C |
|---|---|
| RGB | rgb(47, 80, 140) |
| HSL | hsl(219, 50%, 37%) |
| HSV | hsv(219, 66%, 55%) |
| CMYK | cmyk(66.4%, 42.9%, 0%, 45.1%) |
| CIE-LAB | lab(34.47, 8.44, -36.96) |
| CIE-LCH | lch(34.47, 37.91, 282.86°) |
| OKLab | oklab(43.77% -0.016 -0.1054) |
| OKLCH | oklch(43.77% 0.107 261.4) |
| XYZ | xyz(8.7729, 8.2343, 25.9329) |
| Luminance | 0.0824 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 2.25
Cobalt (survey)
#1E488F
ΔE00 2.84
Denim Blue
#3B5B92
ΔE00 3.68
Light Navy
#155084
ΔE00 4.31
Light Navy Blue
#2E5A88
ΔE00 4.43
Cobalt
#0047AB
ΔE00 5.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F508C #8C6B2F
analogous
#2F7F8C #2F508C #3D2F8C
triadic
#2F508C #8C2F50 #508C2F
tetradic
#2F508C #8C2F7F #8C6B2F #2F8C3D
square
#2F508C #8C2F7F #8C6B2F #2F8C3D
split-complementary
#2F508C #8C3D2F #7F8C2F
monochromatic
#101C30 #20365E #2F508C #3E6ABA #698CCD
Accessibility & contrast
On white
7.93
#2F508C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#2F508C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F508C
7.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F508C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F508C | 1.00 | 7.93 | 2.65 | 7.93 |
| #FFFFFF | 7.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#35568E
Deuteranopia (green-blind)
#264D8B
Tritanopia (blue-blind)
#005E67
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #2f508c; /* rgb */ color: rgb(47, 80, 140); /* oklch */ color: oklch(43.8% 0.107 261.4);
Tailwind
colors: {
custom: {
50: '#7280ae',
500: '#2f508c',
950: '#000000',
},
}SCSS
$custom: #2f508c; $custom-light: #7280ae; $custom-dark: #000000;
JSON
{
"hex": "#2f508c",
"rgb": {
"r": 47,
"g": 80,
"b": 140
},
"hsl": {
"h": 218.71,
"s": 49.733,
"l": 36.667
},
"oklch": {
"l": 0.43771,
"c": 0.10657,
"h": 261.4
},
"luminance": 0.08235
}Semantic roles & 50–950 ramp
primary
#2F508C
secondary
#B49763
accent
#A84FD9
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F