#2F5594#2F5594
#2F5594 is a mid, moderate blue. Relative luminance 0.092; OKLCH L 45.5% C 0.112 H 260.0°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).
Color values
| HEX | #2F5594 |
|---|---|
| RGB | rgb(47, 85, 148) |
| HSL | hsl(217, 52%, 38%) |
| HSV | hsv(217, 68%, 58%) |
| CMYK | cmyk(68.2%, 42.6%, 0%, 42%) |
| CIE-LAB | lab(36.44, 8.14, -38.68) |
| CIE-LCH | lch(36.44, 39.53, 281.88°) |
| OKLab | oklab(45.45% -0.0195 -0.1103) |
| OKLCH | oklch(45.45% 0.112 260) |
| XYZ | xyz(9.7642, 9.2385, 29.2799) |
| Luminance | 0.0924 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 1.75
Denim Blue
#3B5B92
ΔE00 2.30
Light Navy Blue
#2E5A88
ΔE00 3.25
Cobalt (survey)
#1E488F
ΔE00 4.22
Light Navy
#155084
ΔE00 4.33
Dusky Blue
#475F94
ΔE00 4.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F5594 #946E2F
analogous
#2F8794 #2F5594 #3B2F94
triadic
#2F5594 #942F55 #55942F
tetradic
#2F5594 #942F87 #946E2F #2F943B
square
#2F5594 #942F87 #946E2F #2F943B
split-complementary
#2F5594 #943B2F #87942F
monochromatic
#112037 #203A66 #2F5594 #3E70C2 #6D92D1
Accessibility & contrast
On white
7.37
#2F5594 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.85
#2F5594 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F5594
7.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F5594 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F5594 | 1.00 | 7.37 | 2.85 | 7.37 |
| #FFFFFF | 7.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#385B96
Deuteranopia (green-blind)
#285193
Tritanopia (blue-blind)
#00636D
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #2f5594; /* rgb */ color: rgb(47, 85, 148); /* oklch */ color: oklch(45.5% 0.112 260.0);
Tailwind
colors: {
custom: {
50: '#7384b4',
500: '#2f5594',
950: '#000000',
},
}SCSS
$custom: #2f5594; $custom-light: #7384b4; $custom-dark: #000000;
JSON
{
"hex": "#2f5594",
"rgb": {
"r": 47,
"g": 85,
"b": 148
},
"hsl": {
"h": 217.426,
"s": 51.795,
"l": 38.235
},
"oklch": {
"l": 0.45453,
"c": 0.11204,
"h": 260
},
"luminance": 0.09239
}Semantic roles & 50–950 ramp
primary
#2F5594
secondary
#B89967
accent
#A64DDB
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A11
muted
#7B7C80