#2645A2#2645A2
#2645A2 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.6% C 0.155 H 266.0°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).
Color values
| HEX | #2645A2 |
|---|---|
| RGB | rgb(38, 69, 162) |
| HSL | hsl(225, 62%, 39%) |
| HSV | hsv(225, 77%, 64%) |
| CMYK | cmyk(76.5%, 57.4%, 0%, 36.5%) |
| CIE-LAB | lab(32.43, 22.87, -53.62) |
| CIE-LCH | lch(32.43, 58.29, 293.10°) |
| OKLab | oklab(42.59% -0.0109 -0.1547) |
| OKLCH | oklch(42.59% 0.155 266) |
| XYZ | xyz(9.4467, 7.2759, 35.0819) |
| Luminance | 0.0728 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.51
Cobalt (survey)
#1E488F
ΔE00 3.82
Sapphire (survey)
#2138AB
ΔE00 4.57
Blue Blue
#2242C7
ΔE00 5.37
Sapphire
#0F52BA
ΔE00 5.39
Blueberry
#464196
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2645A2 #A28326
analogous
#2683A2 #2645A2 #4526A2
triadic
#2645A2 #A22645 #45A226
tetradic
#2645A2 #A22683 #A28326 #26A245
square
#2645A2 #A22683 #A28326 #26A245
split-complementary
#2645A2 #A24526 #83A226
monochromatic
#0F1B3F #1A3070 #2645A2 #355CD0 #6784DB
Accessibility & contrast
On white
8.55
#2645A2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.46
#2645A2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2645A2
8.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2645A2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2645A2 | 1.00 | 8.55 | 2.46 | 8.55 |
| #FFFFFF | 8.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052A5
Deuteranopia (green-blind)
#0047A0
Tritanopia (blue-blind)
#005C6C
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #2645a2; /* rgb */ color: rgb(38, 69, 162); /* oklch */ color: oklch(42.6% 0.155 266.0);
Tailwind
colors: {
custom: {
50: '#7378be',
500: '#2645a2',
950: '#000000',
},
}SCSS
$custom: #2645a2; $custom-light: #7378be; $custom-dark: #000000;
JSON
{
"hex": "#2645a2",
"rgb": {
"r": 38,
"g": 69,
"b": 162
},
"hsl": {
"h": 225,
"s": 62,
"l": 39.216
},
"oklch": {
"l": 0.42591,
"c": 0.15507,
"h": 266
},
"luminance": 0.07277
}Semantic roles & 50–950 ramp
primary
#2645A2
secondary
#C1AA63
accent
#BC43E5
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090812
muted
#7B7B81