#2642AD#2642AD
#2642AD is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.0% C 0.174 H 267.2°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).
Color values
| HEX | #2642AD |
|---|---|
| RGB | rgb(38, 66, 173) |
| HSL | hsl(228, 64%, 41%) |
| HSV | hsv(228, 78%, 68%) |
| CMYK | cmyk(78%, 61.8%, 0%, 32.2%) |
| CIE-LAB | lab(32.53, 29.08, -60.03) |
| CIE-LCH | lch(32.53, 66.71, 295.85°) |
| OKLab | oklab(42.95% -0.0086 -0.1736) |
| OKLCH | oklch(42.95% 0.174 267.2) |
| XYZ | xyz(10.2877, 7.3245, 40.3986) |
| Luminance | 0.0733 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.01
Cobalt
#0047AB
ΔE00 3.48
Blue Blue
#2242C7
ΔE00 3.52
Blueberry
#464196
ΔE00 5.67
Ocean Blue
#4F42B5
ΔE00 5.78
Cobalt (survey)
#1E488F
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2642AD #AD9126
analogous
#2686AD #2642AD #4E26AD
triadic
#2642AD #AD2642 #42AD26
tetradic
#2642AD #AD2686 #AD9126 #26AD4E
square
#2642AD #AD2686 #AD9126 #26AD4E
split-complementary
#2642AD #AD4E26 #86AD26
monochromatic
#101C49 #1B2F7B #2642AD #3C5CD4 #6E86DF
Accessibility & contrast
On white
8.52
#2642AD on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.47
#2642AD on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2642AD
8.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2642AD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2642AD | 1.00 | 8.52 | 2.47 | 8.52 |
| #FFFFFF | 8.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053B1
Deuteranopia (green-blind)
#0046AB
Tritanopia (blue-blind)
#005E71
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #2642ad; /* rgb */ color: rgb(38, 66, 173); /* oklch */ color: oklch(43.0% 0.174 267.2);
Tailwind
colors: {
custom: {
50: '#7676c6',
500: '#2642ad',
950: '#000000',
},
}SCSS
$custom: #2642ad; $custom-light: #7676c6; $custom-dark: #000000;
JSON
{
"hex": "#2642ad",
"rgb": {
"r": 38,
"g": 66,
"b": 173
},
"hsl": {
"h": 227.556,
"s": 63.981,
"l": 41.373
},
"oklch": {
"l": 0.42953,
"c": 0.17378,
"h": 267.2
},
"luminance": 0.07326
}Semantic roles & 50–950 ramp
primary
#2642AD
secondary
#C6B369
accent
#C541E7
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82