#2638AF#2638AF
#2638AF is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.3% C 0.188 H 269.1°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).
Color values
| HEX | #2638AF |
|---|---|
| RGB | rgb(38, 56, 175) |
| HSL | hsl(232, 64%, 42%) |
| HSV | hsv(232, 78%, 69%) |
| CMYK | cmyk(78.3%, 68%, 0%, 31.4%) |
| CIE-LAB | lab(30.24, 36.32, -64.99) |
| CIE-LCH | lch(30.24, 74.45, 299.20°) |
| OKLab | oklab(41.32% -0.0029 -0.1881) |
| OKLCH | oklch(41.32% 0.188 269.1) |
| XYZ | xyz(9.9487, 6.3344, 41.2475) |
| Luminance | 0.0634 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 0.80
Blue Blue
#2242C7
ΔE00 4.15
Ocean Blue
#4F42B5
ΔE00 5.47
Blueberry
#464196
ΔE00 5.94
Cobalt
#0047AB
ΔE00 6.30
Blue With A Hint Of Purple
#533CC6
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2638AF #AF9D26
analogous
#267DAF #2638AF #5926AF
triadic
#2638AF #AF2638 #38AF26
tetradic
#2638AF #AF267D #AF9D26 #26AF59
square
#2638AF #AF267D #AF9D26 #26AF59
split-complementary
#2638AF #AF5926 #7DAF26
monochromatic
#10184A #1B287D #2638AF #3D51D5 #707EE0
Accessibility & contrast
On white
9.26
#2638AF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#2638AF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2638AF
9.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2638AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2638AF | 1.00 | 9.26 | 2.27 | 9.26 |
| #FFFFFF | 9.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EB3
Deuteranopia (green-blind)
#0041AD
Tritanopia (blue-blind)
#00586F
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2638af; /* rgb */ color: rgb(38, 56, 175); /* oklch */ color: oklch(41.3% 0.188 269.1);
Tailwind
colors: {
custom: {
50: '#786fc8',
500: '#2638af',
950: '#000000',
},
}SCSS
$custom: #2638af; $custom-light: #786fc8; $custom-dark: #000000;
JSON
{
"hex": "#2638af",
"rgb": {
"r": 38,
"g": 56,
"b": 175
},
"hsl": {
"h": 232.117,
"s": 64.319,
"l": 41.765
},
"oklch": {
"l": 0.41323,
"c": 0.18816,
"h": 269.1
},
"luminance": 0.06336
}Semantic roles & 50–950 ramp
primary
#2638AF
secondary
#C7BA6A
accent
#D140E7
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0713
muted
#7C7A82