#2F2383#2F2383
#2F2383 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.0% C 0.152 H 280.2°. Best body text is #FFFFFF at 12.43:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2383 |
|---|---|
| RGB | rgb(47, 35, 131) |
| HSL | hsl(248, 58%, 33%) |
| HSV | hsv(248, 73%, 51%) |
| CMYK | cmyk(64.1%, 73.3%, 0%, 48.6%) |
| CIE-LAB | lab(21.74, 34.94, -51.97) |
| CIE-LCH | lch(21.74, 62.62, 303.91°) |
| OKLab | oklab(34.04% 0.0271 -0.1499) |
| OKLCH | oklch(34.04% 0.152 280.2) |
| XYZ | xyz(5.8688, 3.4447, 21.8239) |
| Luminance | 0.0345 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.19
Royal
#0C1793
ΔE00 4.45
Indigo (survey)
#380282
ΔE00 5.93
Cobalt Blue
#030AA7
ΔE00 6.92
Darkblue
#00008B
ΔE00 6.97
Indigo Blue
#3A18B1
ΔE00 7.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2383 #778323
analogous
#234783 #2F2383 #5F2383
triadic
#2F2383 #832F23 #23832F
tetradic
#2F2383 #832347 #778323 #23835F
square
#2F2383 #832347 #778323 #23835F
split-complementary
#2F2383 #835F23 #478323
monochromatic
#0C0922 #1E1653 #2F2383 #4030B3 #6050D0
Accessibility & contrast
On white
12.43
#2F2383 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.69
#2F2383 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2383
12.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2383 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2383 | 1.00 | 12.43 | 1.69 | 12.43 |
| #FFFFFF | 12.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003886
Deuteranopia (green-blind)
#003081
Tritanopia (blue-blind)
#003D50
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #2f2383; /* rgb */ color: rgb(47, 35, 131); /* oklch */ color: oklch(34.0% 0.152 280.2);
Tailwind
colors: {
custom: {
50: '#735fa8',
500: '#2f2383',
950: '#000000',
},
}SCSS
$custom: #2f2383; $custom-light: #735fa8; $custom-dark: #000000;
JSON
{
"hex": "#2f2383",
"rgb": {
"r": 47,
"g": 35,
"b": 131
},
"hsl": {
"h": 247.5,
"s": 57.831,
"l": 32.549
},
"oklch": {
"l": 0.34045,
"c": 0.15231,
"h": 280.2
},
"luminance": 0.03445
}Semantic roles & 50–950 ramp
primary
#2F2383
secondary
#A7B44E
accent
#E147CE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090510
muted
#7B797F