#2642AE#2642AE
#2642AE is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.0% C 0.175 H 267.2°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).
Color values
| HEX | #2642AE |
|---|---|
| RGB | rgb(38, 66, 174) |
| HSL | hsl(228, 64%, 42%) |
| HSV | hsv(228, 78%, 68%) |
| CMYK | cmyk(78.2%, 62.1%, 0%, 31.8%) |
| CIE-LAB | lab(32.62, 29.46, -60.49) |
| CIE-LCH | lch(32.62, 67.28, 295.97°) |
| OKLab | oklab(43.04% -0.0086 -0.1749) |
| OKLCH | oklch(43.04% 0.175 267.2) |
| XYZ | xyz(10.3849, 7.3633, 40.9101) |
| Luminance | 0.0736 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.99
Blue Blue
#2242C7
ΔE00 3.38
Cobalt
#0047AB
ΔE00 3.54
Ocean Blue
#4F42B5
ΔE00 5.71
Blueberry
#464196
ΔE00 5.73
Cobalt (survey)
#1E488F
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2642AE #AE9226
analogous
#2686AE #2642AE #4E26AE
triadic
#2642AE #AE2642 #42AE26
tetradic
#2642AE #AE2686 #AE9226 #26AE4E
square
#2642AE #AE2686 #AE9226 #26AE4E
split-complementary
#2642AE #AE4E26 #86AE26
monochromatic
#101C4A #1B2F7C #2642AE #3D5CD5 #6F86E0
Accessibility & contrast
On white
8.49
#2642AE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.47
#2642AE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2642AE
8.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2642AE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2642AE | 1.00 | 8.49 | 2.47 | 8.49 |
| #FFFFFF | 8.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053B2
Deuteranopia (green-blind)
#0047AC
Tritanopia (blue-blind)
#005E71
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #2642ae; /* rgb */ color: rgb(38, 66, 174); /* oklch */ color: oklch(43.0% 0.175 267.2);
Tailwind
colors: {
custom: {
50: '#7776c7',
500: '#2642ae',
950: '#000000',
},
}SCSS
$custom: #2642ae; $custom-light: #7776c7; $custom-dark: #000000;
JSON
{
"hex": "#2642ae",
"rgb": {
"r": 38,
"g": 66,
"b": 174
},
"hsl": {
"h": 227.647,
"s": 64.151,
"l": 41.569
},
"oklch": {
"l": 0.43043,
"c": 0.17512,
"h": 267.2
},
"luminance": 0.07364
}Semantic roles & 50–950 ramp
primary
#2642AE
secondary
#C6B36A
accent
#C541E7
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82