#2338AF#2338AF
#2338AF is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.2% C 0.189 H 268.3°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).
Color values
| HEX | #2338AF |
|---|---|
| RGB | rgb(35, 56, 175) |
| HSL | hsl(231, 67%, 41%) |
| HSV | hsv(231, 80%, 69%) |
| CMYK | cmyk(80%, 68%, 0%, 31.4%) |
| CIE-LAB | lab(30.11, 36.06, -65.21) |
| CIE-LCH | lch(30.11, 74.52, 298.94°) |
| OKLab | oklab(41.19% -0.0057 -0.1889) |
| OKLCH | oklch(41.19% 0.189 268.3) |
| XYZ | xyz(9.8425, 6.2797, 41.2425) |
| Luminance | 0.0628 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 0.64
Blue Blue
#2242C7
ΔE00 4.15
Ocean Blue
#4F42B5
ΔE00 5.69
Blueberry
#464196
ΔE00 6.08
Cobalt
#0047AB
ΔE00 6.13
Blue (survey)
#0343DF
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2338AF #AF9A23
analogous
#237EAF #2338AF #5423AF
triadic
#2338AF #AF2338 #38AF23
tetradic
#2338AF #AF237E #AF9A23 #23AF54
square
#2338AF #AF237E #AF9A23 #23AF54
split-complementary
#2338AF #AF5423 #7EAF23
monochromatic
#0F1749 #19287C #2338AF #3850D7 #6B7DE1
Accessibility & contrast
On white
9.31
#2338AF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#2338AF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2338AF
9.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2338AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2338AF | 1.00 | 9.31 | 2.26 | 9.31 |
| #FFFFFF | 9.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EB3
Deuteranopia (green-blind)
#0040AD
Tritanopia (blue-blind)
#00596F
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2338af; /* rgb */ color: rgb(35, 56, 175); /* oklch */ color: oklch(41.2% 0.189 268.3);
Tailwind
colors: {
custom: {
50: '#776fc8',
500: '#2338af',
950: '#000000',
},
}SCSS
$custom: #2338af; $custom-light: #776fc8; $custom-dark: #000000;
JSON
{
"hex": "#2338af",
"rgb": {
"r": 35,
"g": 56,
"b": 175
},
"hsl": {
"h": 231,
"s": 66.667,
"l": 41.176
},
"oklch": {
"l": 0.41189,
"c": 0.18895,
"h": 268.3
},
"luminance": 0.06281
}Semantic roles & 50–950 ramp
primary
#2338AF
secondary
#C7B966
accent
#D03EEA
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0713
muted
#7C7A82