#2F5192#2F5192
#2F5192 is a dark, moderate blue. Relative luminance 0.086; OKLCH L 44.4% C 0.114 H 262.0°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).
Color values
| HEX | #2F5192 |
|---|---|
| RGB | rgb(47, 81, 146) |
| HSL | hsl(219, 51%, 38%) |
| HSV | hsv(219, 68%, 57%) |
| CMYK | cmyk(67.8%, 44.5%, 0%, 42.7%) |
| CIE-LAB | lab(35.13, 10.02, -39.56) |
| CIE-LCH | lch(35.13, 40.81, 284.22°) |
| OKLab | oklab(44.4% -0.0158 -0.113) |
| OKLCH | oklch(44.4% 0.114 262) |
| XYZ | xyz(9.3012, 8.5636, 28.3513) |
| Luminance | 0.0857 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 2.30
Cobalt (survey)
#1E488F
ΔE00 3.04
Denim Blue
#3B5B92
ΔE00 3.37
Light Navy Blue
#2E5A88
ΔE00 4.39
Light Navy
#155084
ΔE00 4.61
Cobalt
#0047AB
ΔE00 4.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F5192 #92702F
analogous
#2F8292 #2F5192 #3F2F92
triadic
#2F5192 #922F51 #51922F
tetradic
#2F5192 #922F82 #92702F #2F923F
square
#2F5192 #922F82 #92702F #2F923F
split-complementary
#2F5192 #923F2F #82922F
monochromatic
#111E35 #203764 #2F5192 #3E6BC0 #6C8ED0
Accessibility & contrast
On white
7.74
#2F5192 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.71
#2F5192 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F5192
7.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F5192 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F5192 | 1.00 | 7.74 | 2.71 | 7.74 |
| #FFFFFF | 7.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#325894
Deuteranopia (green-blind)
#224E91
Tritanopia (blue-blind)
#00606A
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #2f5192; /* rgb */ color: rgb(47, 81, 146); /* oklch */ color: oklch(44.4% 0.114 262.0);
Tailwind
colors: {
custom: {
50: '#7381b2',
500: '#2f5192',
950: '#000000',
},
}SCSS
$custom: #2f5192; $custom-light: #7381b2; $custom-dark: #000000;
JSON
{
"hex": "#2f5192",
"rgb": {
"r": 47,
"g": 81,
"b": 146
},
"hsl": {
"h": 219.394,
"s": 51.295,
"l": 37.843
},
"oklch": {
"l": 0.44402,
"c": 0.11406,
"h": 262
},
"luminance": 0.08565
}Semantic roles & 50–950 ramp
primary
#2F5192
secondary
#B79B66
accent
#AA4DDB
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80