#2F5895#2F5895
#2F5895 is a mid, moderate blue. Relative luminance 0.098; OKLCH L 46.2% C 0.110 H 258.2°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).
Color values
| HEX | #2F5895 |
|---|---|
| RGB | rgb(47, 88, 149) |
| HSL | hsl(216, 52%, 38%) |
| HSV | hsv(216, 68%, 58%) |
| CMYK | cmyk(68.5%, 40.9%, 0%, 41.6%) |
| CIE-LAB | lab(37.39, 6.56, -37.76) |
| CIE-LCH | lch(37.39, 38.33, 279.85°) |
| OKLab | oklab(46.21% -0.0224 -0.1076) |
| OKLCH | oklch(46.21% 0.11 258.2) |
| XYZ | xyz(10.0849, 9.7527, 29.7789) |
| Luminance | 0.0975 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim Blue
#3B5B92
ΔE00 1.88
Dusk Blue
#26538D
ΔE00 2.03
Light Navy Blue
#2E5A88
ΔE00 2.53
Dusky Blue
#475F94
ΔE00 4.25
Light Navy
#155084
ΔE00 4.39
Denim (survey)
#3B638C
ΔE00 4.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F5895 #956C2F
analogous
#2F8B95 #2F5895 #392F95
triadic
#2F5895 #952F58 #58952F
tetradic
#2F5895 #952F8B #956C2F #2F9539
square
#2F5895 #952F8B #956C2F #2F9539
split-complementary
#2F5895 #95392F #8B952F
monochromatic
#122138 #203D66 #2F5895 #3F74C2 #6D95D1
Accessibility & contrast
On white
7.12
#2F5895 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.95
#2F5895 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F5895
7.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F5895 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F5895 | 1.00 | 7.12 | 2.95 | 7.12 |
| #FFFFFF | 7.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C5D97
Deuteranopia (green-blind)
#2D5494
Tritanopia (blue-blind)
#00666F
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #2f5895; /* rgb */ color: rgb(47, 88, 149); /* oklch */ color: oklch(46.2% 0.110 258.2);
Tailwind
colors: {
custom: {
50: '#7386b4',
500: '#2f5895',
950: '#000000',
},
}SCSS
$custom: #2f5895; $custom-light: #7386b4; $custom-dark: #000000;
JSON
{
"hex": "#2f5895",
"rgb": {
"r": 47,
"g": 88,
"b": 149
},
"hsl": {
"h": 215.882,
"s": 52.041,
"l": 38.431
},
"oklch": {
"l": 0.46213,
"c": 0.10989,
"h": 258.2
},
"luminance": 0.09754
}Semantic roles & 50–950 ramp
primary
#2F5895
secondary
#B89867
accent
#A24CDB
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80