#2662B7#2662B7
#2662B7 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 50.4% C 0.148 H 257.9°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).
Color values
| HEX | #2662B7 |
|---|---|
| RGB | rgb(38, 98, 183) |
| HSL | hsl(215, 66%, 43%) |
| HSV | hsv(215, 79%, 72%) |
| CMYK | cmyk(79.2%, 46.4%, 0%, 28.2%) |
| CIE-LAB | lab(42.10, 11.80, -50.43) |
| CIE-LCH | lch(42.10, 51.79, 283.17°) |
| OKLab | oklab(50.44% -0.031 -0.1448) |
| OKLCH | oklch(50.44% 0.148 257.9) |
| XYZ | xyz(13.7111, 12.5647, 46.4932) |
| Luminance | 0.1257 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 1.04
Mid Blue
#276AB3
ΔE00 3.22
French Blue
#436BAD
ΔE00 3.81
Medium Blue
#2C6FBB
ΔE00 4.72
Denim (survey)
#3B638C
ΔE00 4.89
Denim Blue
#3B5B92
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2662B7 #B77B26
analogous
#26AAB7 #2662B7 #3226B7
triadic
#2662B7 #B72662 #62B726
tetradic
#2662B7 #B726AA #B77B26 #26B732
square
#2662B7 #B726AA #B77B26 #26B732
split-complementary
#2662B7 #B73226 #AAB726
monochromatic
#112C52 #1B4784 #2662B7 #4280D8 #75A2E2
Accessibility & contrast
On white
5.98
#2662B7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.51
#2662B7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2662B7
5.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2662B7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2662B7 | 1.00 | 5.98 | 3.51 | 5.98 |
| #FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#346ABA
Deuteranopia (green-blind)
#0E5DB5
Tritanopia (blue-blind)
#007683
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #2662b7; /* rgb */ color: rgb(38, 98, 183); /* oklch */ color: oklch(50.4% 0.148 257.9);
Tailwind
colors: {
custom: {
50: '#778ecd',
500: '#2662b7',
950: '#000000',
},
}SCSS
$custom: #2662b7; $custom-light: #778ecd; $custom-dark: #000000;
JSON
{
"hex": "#2662b7",
"rgb": {
"r": 38,
"g": 98,
"b": 183
},
"hsl": {
"h": 215.172,
"s": 65.611,
"l": 43.333
},
"oklch": {
"l": 0.50437,
"c": 0.14806,
"h": 257.9
},
"luminance": 0.12566
}Semantic roles & 50–950 ramp
primary
#2662B7
secondary
#CAA46F
accent
#A23FE9
background
#F7F8FC
surface
#EEF0F9
border
#C9CBD2
text
#0A0C13
muted
#7C7D82