#2236AF#2236AF
#2236AF is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.8% C 0.191 H 268.3°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).
Color values
| HEX | #2236AF |
|---|---|
| RGB | rgb(34, 54, 175) |
| HSL | hsl(231, 67%, 41%) |
| HSV | hsv(231, 81%, 69%) |
| CMYK | cmyk(80.6%, 69.1%, 0%, 31.4%) |
| CIE-LAB | lab(29.59, 37.24, -66.06) |
| CIE-LCH | lch(29.59, 75.83, 299.41°) |
| OKLab | oklab(40.8% -0.0056 -0.1913) |
| OKLCH | oklch(40.8% 0.191 268.3) |
| XYZ | xyz(9.7140, 6.0724, 41.2093) |
| Luminance | 0.0607 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 0.92
Blue Blue
#2242C7
ΔE00 4.53
Ocean Blue
#4F42B5
ΔE00 5.90
Blueberry
#464196
ΔE00 6.33
Cobalt
#0047AB
ΔE00 6.64
Blue With A Hint Of Purple
#533CC6
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2236AF #AF9B22
analogous
#227CAF #2236AF #5422AF
triadic
#2236AF #AF2236 #36AF22
tetradic
#2236AF #AF227C #AF9B22 #22AF54
square
#2236AF #AF227C #AF9B22 #22AF54
split-complementary
#2236AF #AF5422 #7CAF22
monochromatic
#0E1649 #18267C #2236AF #364DD8 #697BE2
Accessibility & contrast
On white
9.48
#2236AF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#2236AF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2236AF
9.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2236AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2236AF | 1.00 | 9.48 | 2.21 | 9.48 |
| #FFFFFF | 9.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DB3
Deuteranopia (green-blind)
#003FAD
Tritanopia (blue-blind)
#00576E
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #2236af; /* rgb */ color: rgb(34, 54, 175); /* oklch */ color: oklch(40.8% 0.191 268.3);
Tailwind
colors: {
custom: {
50: '#776dc8',
500: '#2236af',
950: '#000000',
},
}SCSS
$custom: #2236af; $custom-light: #776dc8; $custom-dark: #000000;
JSON
{
"hex": "#2236af",
"rgb": {
"r": 34,
"g": 54,
"b": 175
},
"hsl": {
"h": 231.489,
"s": 67.464,
"l": 40.98
},
"oklch": {
"l": 0.40804,
"c": 0.19143,
"h": 268.3
},
"luminance": 0.06074
}Semantic roles & 50–950 ramp
primary
#2236AF
secondary
#C8BA65
accent
#D23DEA
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0713
muted
#7C7A82