#3638B2#3638B2
#3638B2 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.5% C 0.188 H 274.2°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).
Color values
| HEX | #3638B2 |
|---|---|
| RGB | rgb(54, 56, 178) |
| HSL | hsl(239, 53%, 45%) |
| HSV | hsv(239, 70%, 70%) |
| CMYK | cmyk(69.7%, 68.5%, 0%, 30.2%) |
| CIE-LAB | lab(31.41, 39.09, -64.83) |
| CIE-LCH | lch(31.41, 75.70, 301.09°) |
| OKLab | oklab(42.49% 0.0139 -0.1873) |
| OKLCH | oklch(42.49% 0.188 274.2) |
| XYZ | xyz(10.9687, 6.8259, 42.8503) |
| Luminance | 0.0683 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.53
Ocean Blue
#4F42B5
ΔE00 4.03
Blue Blue
#2242C7
ΔE00 4.26
Blue With A Hint Of Purple
#533CC6
ΔE00 4.90
Blueberry
#464196
ΔE00 5.53
Blurple
#5539CC
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3638B2 #B2B036
analogous
#3676B2 #3638B2 #7236B2
triadic
#3638B2 #B23638 #38B236
tetradic
#3638B2 #B23676 #B2B036 #36B272
square
#3638B2 #B23676 #B2B036 #36B272
split-complementary
#3638B2 #B27236 #76B236
monochromatic
#1A1A54 #282983 #3638B2 #595BCD #8889DB
Accessibility & contrast
On white
8.88
#3638B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.37
#3638B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3638B2
8.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3638B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3638B2 | 1.00 | 8.88 | 2.37 | 8.88 |
| #FFFFFF | 8.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050B6
Deuteranopia (green-blind)
#0044B0
Tritanopia (blue-blind)
#005970
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #3638b2; /* rgb */ color: rgb(54, 56, 178); /* oklch */ color: oklch(42.5% 0.188 274.2);
Tailwind
colors: {
custom: {
50: '#7e6fca',
500: '#3638b2',
950: '#000000',
},
}SCSS
$custom: #3638b2; $custom-light: #7e6fca; $custom-dark: #000000;
JSON
{
"hex": "#3638b2",
"rgb": {
"r": 54,
"g": 56,
"b": 178
},
"hsl": {
"h": 239.032,
"s": 53.448,
"l": 45.49
},
"oklch": {
"l": 0.42492,
"c": 0.18782,
"h": 274.2
},
"luminance": 0.06827
}Semantic roles & 50–950 ramp
primary
#3638B2
secondary
#C5C47F
accent
#DA4BDD
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0713
muted
#7C7A82