#2F5595#2F5595
#2F5595 is a mid, moderate blue. Relative luminance 0.093; OKLCH L 45.5% C 0.113 H 260.2°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).
Color values
| HEX | #2F5595 |
|---|---|
| RGB | rgb(47, 85, 149) |
| HSL | hsl(218, 52%, 38%) |
| HSV | hsv(218, 68%, 58%) |
| CMYK | cmyk(68.5%, 43%, 0%, 41.6%) |
| CIE-LAB | lab(36.50, 8.52, -39.19) |
| CIE-LCH | lch(36.50, 40.10, 282.26°) |
| OKLab | oklab(45.52% -0.0193 -0.1118) |
| OKLCH | oklch(45.52% 0.113 260.2) |
| XYZ | xyz(9.8437, 9.2703, 29.6985) |
| Luminance | 0.0927 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 1.85
Denim Blue
#3B5B92
ΔE00 2.31
Light Navy Blue
#2E5A88
ΔE00 3.34
Cobalt (survey)
#1E488F
ΔE00 4.23
Light Navy
#155084
ΔE00 4.42
Dusky Blue
#475F94
ΔE00 4.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F5595 #956F2F
analogous
#2F8895 #2F5595 #3C2F95
triadic
#2F5595 #952F55 #55952F
tetradic
#2F5595 #952F88 #956F2F #2F953C
square
#2F5595 #952F88 #956F2F #2F953C
split-complementary
#2F5595 #953C2F #88952F
monochromatic
#122038 #203A66 #2F5595 #3F70C2 #6D92D1
Accessibility & contrast
On white
7.36
#2F5595 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.85
#2F5595 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F5595
7.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F5595 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F5595 | 1.00 | 7.36 | 2.85 | 7.36 |
| #FFFFFF | 7.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#375B97
Deuteranopia (green-blind)
#275194
Tritanopia (blue-blind)
#00646D
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #2f5595; /* rgb */ color: rgb(47, 85, 149); /* oklch */ color: oklch(45.5% 0.113 260.2);
Tailwind
colors: {
custom: {
50: '#7384b4',
500: '#2f5595',
950: '#000000',
},
}SCSS
$custom: #2f5595; $custom-light: #7384b4; $custom-dark: #000000;
JSON
{
"hex": "#2f5595",
"rgb": {
"r": 47,
"g": 85,
"b": 149
},
"hsl": {
"h": 217.647,
"s": 52.041,
"l": 38.431
},
"oklch": {
"l": 0.45519,
"c": 0.11348,
"h": 260.2
},
"luminance": 0.09271
}Semantic roles & 50–950 ramp
primary
#2F5595
secondary
#B89A67
accent
#A64CDB
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A11
muted
#7B7C80