#231C98#231C98
#231C98 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.5% C 0.188 H 272.9°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).
Color values
| HEX | #231C98 |
|---|---|
| RGB | rgb(35, 28, 152) |
| HSL | hsl(243, 69%, 35%) |
| HSV | hsv(243, 82%, 60%) |
| CMYK | cmyk(77%, 81.6%, 0%, 40.4%) |
| CIE-LAB | lab(21.78, 44.47, -65.02) |
| CIE-LCH | lch(21.78, 78.77, 304.37°) |
| OKLab | oklab(34.52% 0.0095 -0.1881) |
| OKLCH | oklch(34.52% 0.188 272.9) |
| XYZ | xyz(6.7740, 3.4541, 30.0094) |
| Luminance | 0.0345 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.89
Cobalt Blue
#030AA7
ΔE00 3.33
Royal Blue (survey)
#0504AA
ΔE00 3.88
Indigo Blue
#3A18B1
ΔE00 4.32
Ultramarine
#2000B1
ΔE00 4.42
Darkblue
#00008B
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#231C98 #91981C
analogous
#1C5398 #231C98 #611C98
triadic
#231C98 #98231C #1C9823
tetradic
#231C98 #981C53 #91981C #1C9861
square
#231C98 #981C53 #91981C #1C9861
split-complementary
#231C98 #98611C #53981C
monochromatic
#0B0931 #171264 #231C98 #2F26CC #5850DF
Accessibility & contrast
On white
12.42
#231C98 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.69
#231C98 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #231C98
12.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##231C98 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##231C98 | 1.00 | 12.42 | 1.69 | 12.42 |
| #FFFFFF | 12.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A9B
Deuteranopia (green-blind)
#002E96
Tritanopia (blue-blind)
#00435B
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #231c98; /* rgb */ color: rgb(35, 28, 152); /* oklch */ color: oklch(34.5% 0.188 272.9);
Tailwind
colors: {
custom: {
50: '#735cb8',
500: '#231c98',
950: '#000000',
},
}SCSS
$custom: #231c98; $custom-light: #735cb8; $custom-dark: #000000;
JSON
{
"hex": "#231c98",
"rgb": {
"r": 35,
"g": 28,
"b": 152
},
"hsl": {
"h": 243.387,
"s": 68.889,
"l": 35.294
},
"oklch": {
"l": 0.34517,
"c": 0.18837,
"h": 272.9
},
"luminance": 0.03455
}Semantic roles & 50–950 ramp
primary
#231C98
secondary
#BBC14E
accent
#EC3CE2
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980