#2645B2#2645B2
#2645B2 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.0% C 0.177 H 266.6°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).
Color values
| HEX | #2645B2 |
|---|---|
| RGB | rgb(38, 69, 178) |
| HSL | hsl(227, 65%, 42%) |
| HSV | hsv(227, 79%, 70%) |
| CMYK | cmyk(78.7%, 61.2%, 0%, 30.2%) |
| CIE-LAB | lab(33.73, 29.00, -61.05) |
| CIE-LCH | lch(33.73, 67.58, 295.41°) |
| OKLab | oklab(43.98% -0.0105 -0.1765) |
| OKLCH | oklch(43.98% 0.177 266.6) |
| XYZ | xyz(10.9605, 7.8814, 43.0545) |
| Luminance | 0.0788 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.07
Cobalt
#0047AB
ΔE00 3.16
Sapphire (survey)
#2138AB
ΔE00 3.96
Sapphire
#0F52BA
ΔE00 5.05
Blue (survey)
#0343DF
ΔE00 5.64
Ocean Blue
#4F42B5
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2645B2 #B29326
analogous
#268BB2 #2645B2 #4D26B2
triadic
#2645B2 #B22645 #45B226
tetradic
#2645B2 #B2268B #B29326 #26B24D
square
#2645B2 #B2268B #B29326 #26B24D
split-complementary
#2645B2 #B24D26 #8BB226
monochromatic
#101E4D #1B3180 #2645B2 #3F61D6 #728AE1
Accessibility & contrast
On white
8.15
#2645B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.58
#2645B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2645B2
8.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2645B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2645B2 | 1.00 | 8.15 | 2.58 | 8.15 |
| #FFFFFF | 8.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056B6
Deuteranopia (green-blind)
#0049B0
Tritanopia (blue-blind)
#006175
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2645b2; /* rgb */ color: rgb(38, 69, 178); /* oklch */ color: oklch(44.0% 0.177 266.6);
Tailwind
colors: {
custom: {
50: '#7778ca',
500: '#2645b2',
950: '#000000',
},
}SCSS
$custom: #2645b2; $custom-light: #7778ca; $custom-dark: #000000;
JSON
{
"hex": "#2645b2",
"rgb": {
"r": 38,
"g": 69,
"b": 178
},
"hsl": {
"h": 226.714,
"s": 64.815,
"l": 42.353
},
"oklch": {
"l": 0.43976,
"c": 0.17681,
"h": 266.6
},
"luminance": 0.07883
}Semantic roles & 50–950 ramp
primary
#2645B2
secondary
#C8B36C
accent
#C340E8
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82