#2F5196#2F5196
#2F5196 is a dark, moderate blue. Relative luminance 0.087; OKLCH L 44.7% C 0.120 H 262.8°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).
Color values
| HEX | #2F5196 |
|---|---|
| RGB | rgb(47, 81, 150) |
| HSL | hsl(220, 52%, 39%) |
| HSV | hsv(220, 69%, 59%) |
| CMYK | cmyk(68.7%, 46%, 0%, 41.2%) |
| CIE-LAB | lab(35.38, 11.53, -41.58) |
| CIE-LCH | lch(35.38, 43.15, 285.49°) |
| OKLab | oklab(44.68% -0.0151 -0.1189) |
| OKLCH | oklch(44.68% 0.12 262.8) |
| XYZ | xyz(9.6178, 8.6903, 30.0188) |
| Luminance | 0.0869 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 2.65
Cobalt (survey)
#1E488F
ΔE00 3.13
Denim Blue
#3B5B92
ΔE00 3.46
Cobalt
#0047AB
ΔE00 4.58
Light Navy Blue
#2E5A88
ΔE00 4.64
Sapphire
#0F52BA
ΔE00 4.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F5196 #96742F
analogous
#2F8496 #2F5196 #402F96
triadic
#2F5196 #962F51 #51962F
tetradic
#2F5196 #962F84 #96742F #2F9640
square
#2F5196 #962F84 #96742F #2F9640
split-complementary
#2F5196 #96402F #84962F
monochromatic
#121F39 #203867 #2F5196 #3F6BC3 #6E8FD2
Accessibility & contrast
On white
7.67
#2F5196 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#2F5196 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F5196
7.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F5196 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F5196 | 1.00 | 7.67 | 2.74 | 7.67 |
| #FFFFFF | 7.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F5899
Deuteranopia (green-blind)
#1C4F95
Tritanopia (blue-blind)
#00616C
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #2f5196; /* rgb */ color: rgb(47, 81, 150); /* oklch */ color: oklch(44.7% 0.120 262.8);
Tailwind
colors: {
custom: {
50: '#7481b5',
500: '#2f5196',
950: '#000000',
},
}SCSS
$custom: #2f5196; $custom-light: #7481b5; $custom-dark: #000000;
JSON
{
"hex": "#2f5196",
"rgb": {
"r": 47,
"g": 81,
"b": 150
},
"hsl": {
"h": 220.194,
"s": 52.284,
"l": 38.627
},
"oklch": {
"l": 0.44677,
"c": 0.11986,
"h": 262.8
},
"luminance": 0.08691
}Semantic roles & 50–950 ramp
primary
#2F5196
secondary
#B99E68
accent
#AC4CDC
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80