#2F345C#2F345C
#2F345C is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.1% C 0.070 H 276.6°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).
Color values
| HEX | #2F345C |
|---|---|
| RGB | rgb(47, 52, 92) |
| HSL | hsl(233, 32%, 27%) |
| HSV | hsv(233, 49%, 36%) |
| CMYK | cmyk(48.9%, 43.5%, 0%, 63.9%) |
| CIE-LAB | lab(23.11, 10.01, -24.67) |
| CIE-LCH | lch(23.11, 26.63, 292.09°) |
| OKLab | oklab(34.09% 0.0081 -0.0697) |
| OKLCH | oklch(34.09% 0.07 276.6) |
| XYZ | xyz(4.3315, 3.8328, 10.6347) |
| Luminance | 0.0383 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 5.22
Marine
#042E60
ΔE00 7.06
Marine Blue
#01386A
ΔE00 8.69
Darkslateblue
#483D8B
ΔE00 9.59
Navy (survey)
#01153E
ΔE00 10.15
Twilight Blue
#0A437A
ΔE00 10.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F345C #5C572F
analogous
#2F4B5C #2F345C #402F5C
triadic
#2F345C #5C2F34 #345C2F
tetradic
#2F345C #5C2F4B #5C572F #2F5C40
square
#2F345C #5C2F4B #5C572F #2F5C40
split-complementary
#2F345C #5C402F #4B5C2F
monochromatic
#0A0B14 #1A1D33 #2F345C #444B85 #5A63AB
Accessibility & contrast
On white
11.89
#2F345C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.77
#2F345C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F345C
11.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F345C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F345C | 1.00 | 11.89 | 1.77 | 11.89 |
| #FFFFFF | 11.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#25395E
Deuteranopia (green-blind)
#21355B
Tritanopia (blue-blind)
#1F3C43
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #2f345c; /* rgb */ color: rgb(47, 52, 92); /* oklch */ color: oklch(34.1% 0.070 276.6);
Tailwind
colors: {
custom: {
50: '#6a6b8a',
500: '#2f345c',
950: '#000000',
},
}SCSS
$custom: #2f345c; $custom-light: #6a6b8a; $custom-dark: #000000;
JSON
{
"hex": "#2f345c",
"rgb": {
"r": 47,
"g": 52,
"b": 92
},
"hsl": {
"h": 233.333,
"s": 32.374,
"l": 27.255
},
"oklch": {
"l": 0.34092,
"c": 0.07014,
"h": 276.6
},
"luminance": 0.03833
}Semantic roles & 50–950 ramp
primary
#2F345C
secondary
#8E8859
accent
#BD5FC9
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#07060C
muted
#7A7A7D