#2C6CCD#2C6CCD
#2C6CCD is a mid, vivid blue. Relative luminance 0.157; OKLCH L 54.4% C 0.164 H 258.9°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #2C6CCD |
|---|---|
| RGB | rgb(44, 108, 205) |
| HSL | hsl(216, 65%, 49%) |
| HSV | hsv(216, 79%, 80%) |
| CMYK | cmyk(78.5%, 47.3%, 0%, 19.6%) |
| CIE-LAB | lab(46.53, 14.45, -56.02) |
| CIE-LCH | lch(46.53, 57.85, 284.47°) |
| OKLab | oklab(54.36% -0.0317 -0.1609) |
| OKLCH | oklch(54.36% 0.164 258.9) |
| XYZ | xyz(17.4167, 15.6663, 59.8517) |
| Luminance | 0.1567 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Medium Blue
#2C6FBB
ΔE00 2.81
Cerulean Blue
#056EEE
ΔE00 3.56
Mid Blue
#276AB3
ΔE00 3.60
French Blue
#436BAD
ΔE00 3.76
Royal Blue
#4169E1
ΔE00 4.64
Denim
#1560BD
ΔE00 4.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C6CCD #CD8D2C
analogous
#2CBDCD #2C6CCD #3D2CCD
triadic
#2C6CCD #CD2C6C #6CCD2C
tetradic
#2C6CCD #CD2CBD #CD8D2C #2CCD3D
square
#2C6CCD #CD2CBD #CD8D2C #2CCD3D
split-complementary
#2C6CCD #CD3D2C #BDCD2C
monochromatic
#163768 #21519B #2C6CCD #5B8EDC #8DB1E7
Accessibility & contrast
On white
5.08
#2C6CCD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.13
#2C6CCD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C6CCD
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C6CCD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C6CCD | 1.00 | 5.08 | 4.13 | 5.08 |
| #FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3676D1
Deuteranopia (green-blind)
#0067CB
Tritanopia (blue-blind)
#008392
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #2c6ccd; /* rgb */ color: rgb(44, 108, 205); /* oklch */ color: oklch(54.4% 0.164 258.9);
Tailwind
colors: {
custom: {
50: '#7d95dd',
500: '#2c6ccd',
950: '#000000',
},
}SCSS
$custom: #2c6ccd; $custom-light: #7d95dd; $custom-dark: #000000;
JSON
{
"hex": "#2c6ccd",
"rgb": {
"r": 44,
"g": 108,
"b": 205
},
"hsl": {
"h": 216.149,
"s": 64.659,
"l": 48.824
},
"oklch": {
"l": 0.54356,
"c": 0.16402,
"h": 258.9
},
"luminance": 0.15668
}Semantic roles & 50–950 ramp
primary
#2C6CCD
secondary
#D1B284
accent
#A540E8
background
#F8F9FD
surface
#F0F1FB
border
#CBCBD4
text
#0B0D15
muted
#7C7E83