#2F328F#2F328F
#2F328F is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.7% C 0.150 H 275.1°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).
Color values
| HEX | #2F328F |
|---|---|
| RGB | rgb(47, 50, 143) |
| HSL | hsl(238, 51%, 37%) |
| HSV | hsv(238, 67%, 56%) |
| CMYK | cmyk(67.1%, 65%, 0%, 43.9%) |
| CIE-LAB | lab(26.36, 29.67, -51.90) |
| CIE-LCH | lch(26.36, 59.78, 299.75°) |
| OKLab | oklab(37.72% 0.0133 -0.1497) |
| OKLCH | oklch(37.72% 0.15 275.1) |
| XYZ | xyz(7.2692, 4.8681, 26.5378) |
| Luminance | 0.0487 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.47
Darkslateblue
#483D8B
ΔE00 5.02
Blueberry
#464196
ΔE00 5.04
Royal
#0C1793
ΔE00 7.00
Midnight Blue
#191970
ΔE00 7.67
Ocean Blue
#4F42B5
ΔE00 7.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F328F #8F8C2F
analogous
#2F628F #2F328F #5C2F8F
triadic
#2F328F #8F2F32 #328F2F
tetradic
#2F328F #8F2F62 #8F8C2F #2F8F5C
square
#2F328F #8F2F62 #8F8C2F #2F8F5C
split-complementary
#2F328F #8F5C2F #628F2F
monochromatic
#111233 #202261 #2F328F #3E42BD #6A6DCE
Accessibility & contrast
On white
10.64
#2F328F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.97
#2F328F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F328F
10.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F328F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F328F | 1.00 | 10.64 | 1.97 | 10.64 |
| #FFFFFF | 10.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004392
Deuteranopia (green-blind)
#003A8D
Tritanopia (blue-blind)
#004A5B
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #2f328f; /* rgb */ color: rgb(47, 50, 143); /* oklch */ color: oklch(37.7% 0.150 275.1);
Tailwind
colors: {
custom: {
50: '#746ab1',
500: '#2f328f',
950: '#000000',
},
}SCSS
$custom: #2f328f; $custom-light: #746ab1; $custom-dark: #000000;
JSON
{
"hex": "#2f328f",
"rgb": {
"r": 47,
"g": 50,
"b": 143
},
"hsl": {
"h": 238.125,
"s": 50.526,
"l": 37.255
},
"oklch": {
"l": 0.37723,
"c": 0.15026,
"h": 275.1
},
"luminance": 0.04869
}Semantic roles & 50–950 ramp
primary
#2F328F
secondary
#B5B365
accent
#D64EDA
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80