#2338B0#2338B0
#2338B0 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.3% C 0.190 H 268.3°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).
Color values
| HEX | #2338B0 |
|---|---|
| RGB | rgb(35, 56, 176) |
| HSL | hsl(231, 67%, 41%) |
| HSV | hsv(231, 80%, 69%) |
| CMYK | cmyk(80.1%, 68.2%, 0%, 31%) |
| CIE-LAB | lab(30.20, 36.42, -65.65) |
| CIE-LCH | lch(30.20, 75.08, 299.02°) |
| OKLab | oklab(41.29% -0.0058 -0.1901) |
| OKLCH | oklch(41.29% 0.19 268.3) |
| XYZ | xyz(9.9411, 6.3191, 41.7617) |
| Luminance | 0.0632 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 0.77
Blue Blue
#2242C7
ΔE00 4.06
Ocean Blue
#4F42B5
ΔE00 5.64
Blueberry
#464196
ΔE00 6.15
Cobalt
#0047AB
ΔE00 6.17
Blue (survey)
#0343DF
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2338B0 #B09B23
analogous
#237FB0 #2338B0 #5523B0
triadic
#2338B0 #B02338 #38B023
tetradic
#2338B0 #B0237F #B09B23 #23B055
square
#2338B0 #B0237F #B09B23 #23B055
split-complementary
#2338B0 #B05523 #7FB023
monochromatic
#0F184A #19287D #2338B0 #3950D8 #6C7DE2
Accessibility & contrast
On white
9.28
#2338B0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#2338B0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2338B0
9.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2338B0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2338B0 | 1.00 | 9.28 | 2.26 | 9.28 |
| #FFFFFF | 9.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EB4
Deuteranopia (green-blind)
#0040AE
Tritanopia (blue-blind)
#00596F
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2338b0; /* rgb */ color: rgb(35, 56, 176); /* oklch */ color: oklch(41.3% 0.190 268.3);
Tailwind
colors: {
custom: {
50: '#776fc9',
500: '#2338b0',
950: '#000000',
},
}SCSS
$custom: #2338b0; $custom-light: #776fc9; $custom-dark: #000000;
JSON
{
"hex": "#2338b0",
"rgb": {
"r": 35,
"g": 56,
"b": 176
},
"hsl": {
"h": 231.064,
"s": 66.825,
"l": 41.373
},
"oklch": {
"l": 0.41288,
"c": 0.19023,
"h": 268.3
},
"luminance": 0.0632
}Semantic roles & 50–950 ramp
primary
#2338B0
secondary
#C8B967
accent
#D03EEA
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0713
muted
#7C7A82