#2746BA#2746BA
#2746BA is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.9% C 0.186 H 266.8°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).
Color values
| HEX | #2746BA |
|---|---|
| RGB | rgb(39, 70, 186) |
| HSL | hsl(227, 65%, 44%) |
| HSV | hsv(227, 79%, 73%) |
| CMYK | cmyk(79%, 62.4%, 0%, 27.1%) |
| CIE-LAB | lab(34.71, 31.45, -64.18) |
| CIE-LCH | lch(34.71, 71.47, 296.11°) |
| OKLab | oklab(44.92% -0.0103 -0.1856) |
| OKLCH | oklch(44.92% 0.186 266.8) |
| XYZ | xyz(11.8867, 8.3555, 47.4311) |
| Luminance | 0.0836 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.16
Cobalt
#0047AB
ΔE00 3.86
Sapphire (survey)
#2138AB
ΔE00 4.47
Blue (survey)
#0343DF
ΔE00 4.59
Sapphire
#0F52BA
ΔE00 4.95
Ocean Blue
#4F42B5
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2746BA #BA9B27
analogous
#2790BA #2746BA #5227BA
triadic
#2746BA #BA2746 #46BA27
tetradic
#2746BA #BA2790 #BA9B27 #27BA52
square
#2746BA #BA2790 #BA9B27 #27BA52
split-complementary
#2746BA #BA5227 #90BA27
monochromatic
#122055 #1C3387 #2746BA #4665D8 #798FE3
Accessibility & contrast
On white
7.86
#2746BA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#2746BA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2746BA
7.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2746BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2746BA | 1.00 | 7.86 | 2.67 | 7.86 |
| #FFFFFF | 7.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059BE
Deuteranopia (green-blind)
#004BB8
Tritanopia (blue-blind)
#006479
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #2746ba; /* rgb */ color: rgb(39, 70, 186); /* oklch */ color: oklch(44.9% 0.186 266.8);
Tailwind
colors: {
custom: {
50: '#7979d0',
500: '#2746ba',
950: '#000000',
},
}SCSS
$custom: #2746ba; $custom-light: #7979d0; $custom-dark: #000000;
JSON
{
"hex": "#2746ba",
"rgb": {
"r": 39,
"g": 70,
"b": 186
},
"hsl": {
"h": 227.347,
"s": 65.333,
"l": 44.118
},
"oklch": {
"l": 0.44923,
"c": 0.18593,
"h": 266.8
},
"luminance": 0.08357
}Semantic roles & 50–950 ramp
primary
#2746BA
secondary
#CBB872
accent
#C540E8
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82