#232198#232198
#232198 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.2% C 0.184 H 272.4°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).
Color values
| HEX | #232198 |
|---|---|
| RGB | rgb(35, 33, 152) |
| HSL | hsl(241, 64%, 36%) |
| HSV | hsv(241, 78%, 60%) |
| CMYK | cmyk(77%, 78.3%, 0%, 40.4%) |
| CIE-LAB | lab(22.69, 41.83, -63.51) |
| CIE-LCH | lch(22.69, 76.04, 303.37°) |
| OKLab | oklab(35.16% 0.0077 -0.1838) |
| OKLCH | oklch(35.16% 0.184 272.4) |
| XYZ | xyz(6.9026, 3.7113, 30.0522) |
| Luminance | 0.0371 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.55
Cobalt Blue
#030AA7
ΔE00 4.20
Indigo Blue
#3A18B1
ΔE00 4.61
Royal Blue (survey)
#0504AA
ΔE00 4.77
Ultramarine
#2000B1
ΔE00 5.23
Darkblue
#00008B
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#232198 #969821
analogous
#215B98 #232198 #5F2198
triadic
#232198 #982321 #219823
tetradic
#232198 #98215B #969821 #21985F
square
#232198 #98215B #969821 #21985F
split-complementary
#232198 #985F21 #5B9821
monochromatic
#0C0B33 #171666 #232198 #2F2CCA #5B59DB
Accessibility & contrast
On white
12.05
#232198 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.74
#232198 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #232198
12.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##232198 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##232198 | 1.00 | 12.05 | 1.74 | 12.05 |
| #FFFFFF | 12.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C9B
Deuteranopia (green-blind)
#003096
Tritanopia (blue-blind)
#00455C
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #232198; /* rgb */ color: rgb(35, 33, 152); /* oklch */ color: oklch(35.2% 0.184 272.4);
Tailwind
colors: {
custom: {
50: '#735fb8',
500: '#232198',
950: '#000000',
},
}SCSS
$custom: #232198; $custom-light: #735fb8; $custom-dark: #000000;
JSON
{
"hex": "#232198",
"rgb": {
"r": 35,
"g": 33,
"b": 152
},
"hsl": {
"h": 241.008,
"s": 64.324,
"l": 36.275
},
"oklch": {
"l": 0.35157,
"c": 0.18396,
"h": 272.4
},
"luminance": 0.03712
}Semantic roles & 50–950 ramp
primary
#232198
secondary
#BDBF56
accent
#E740E5
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980