#2F395C#2F395C
#2F395C is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.3% C 0.063 H 270.8°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).
Color values
| HEX | #2F395C |
|---|---|
| RGB | rgb(47, 57, 92) |
| HSL | hsl(227, 32%, 27%) |
| HSV | hsv(227, 49%, 36%) |
| CMYK | cmyk(48.9%, 38%, 0%, 63.9%) |
| CIE-LAB | lab(24.65, 6.56, -22.25) |
| CIE-LCH | lch(24.65, 23.19, 286.43°) |
| OKLab | oklab(35.28% 0.0009 -0.0626) |
| OKLCH | oklch(35.28% 0.063 270.8) |
| XYZ | xyz(4.5666, 4.3030, 10.7131) |
| Luminance | 0.0430 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 5.23
Marine
#042E60
ΔE00 6.90
Marine Blue
#01386A
ΔE00 7.59
Twilight Blue
#0A437A
ΔE00 9.11
Darkish Blue
#014182
ΔE00 9.46
Dusk
#4E5481
ΔE00 9.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F395C #5C522F
analogous
#2F505C #2F395C #3C2F5C
triadic
#2F395C #5C2F39 #395C2F
tetradic
#2F395C #5C2F50 #5C522F #2F5C3C
square
#2F395C #5C2F50 #5C522F #2F5C3C
split-complementary
#2F395C #5C3C2F #505C2F
monochromatic
#0A0D14 #1A2033 #2F395C #445285 #5A6CAB
Accessibility & contrast
On white
11.29
#2F395C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.86
#2F395C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F395C
11.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F395C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F395C | 1.00 | 11.29 | 1.86 | 11.29 |
| #FFFFFF | 11.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C3D5D
Deuteranopia (green-blind)
#28395B
Tritanopia (blue-blind)
#1F4046
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #2f395c; /* rgb */ color: rgb(47, 57, 92); /* oklch */ color: oklch(35.3% 0.063 270.8);
Tailwind
colors: {
custom: {
50: '#6a6f8a',
500: '#2f395c',
950: '#000000',
},
}SCSS
$custom: #2f395c; $custom-light: #6a6f8a; $custom-dark: #000000;
JSON
{
"hex": "#2f395c",
"rgb": {
"r": 47,
"g": 57,
"b": 92
},
"hsl": {
"h": 226.667,
"s": 32.374,
"l": 27.255
},
"oklch": {
"l": 0.35276,
"c": 0.06258,
"h": 270.8
},
"luminance": 0.04303
}Semantic roles & 50–950 ramp
primary
#2F395C
secondary
#8E8259
accent
#B15FC9
background
#F6F6F8
surface
#EBECF0
border
#C6C7CB
text
#07070B
muted
#7A7A7C