#2C6ED1#2C6ED1

#2C6ED1 is a mid, vivid blue. Relative luminance 0.163; OKLCH L 55.1% C 0.167 H 258.7°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#2C6ED1
RGBrgb(44, 110, 209)
HSLhsl(216, 65%, 50%)
HSVhsv(216, 79%, 82%)
CMYKcmyk(78.9%, 47.4%, 0%, 18%)
CIE-LABlab(47.35, 14.70, -56.99)
CIE-LCHlch(47.35, 58.85, 284.46°)
OKLaboklab(55.07% -0.0326 -0.1637)
OKLCHoklch(55.07% 0.167 258.7)
XYZxyz(18.1190, 16.2886, 62.4983)
Luminance0.1629 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C6ED1 #D18F2C
analogous
#2CC1D1 #2C6ED1 #3D2CD1
triadic
#2C6ED1 #D12C6E #6ED12C
tetradic
#2C6ED1 #D12CC1 #D18F2C #2CD13D
square
#2C6ED1 #D12CC1 #D18F2C #2CD13D
split-complementary
#2C6ED1 #D13D2C #C1D12C
monochromatic
#17396C #21539E #2C6ED1 #5D90DD #90B3E8

Accessibility & contrast

On white

4.93
#2C6ED1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#2C6ED1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C6ED1
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C6ED1#FFFFFF#000000##FFFFFF
##2C6ED11.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3678D5
Deuteranopia (green-blind)
#0069CF
Tritanopia (blue-blind)
#008695
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2c6ed1;
/* rgb */ color: rgb(44, 110, 209);
/* oklch */ color: oklch(55.1% 0.167 258.7);
Tailwind
colors: {
  custom: {
    50: '#7e96e0',
    500: '#2c6ed1',
    950: '#000000',
  },
}
SCSS
$custom: #2c6ed1;
$custom-light: #7e96e0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c6ed1",
  "rgb": {
    "r": 44,
    "g": 110,
    "b": 209
  },
  "hsl": {
    "h": 216,
    "s": 65.217,
    "l": 49.608
  },
  "oklch": {
    "l": 0.55067,
    "c": 0.16697,
    "h": 258.7
  },
  "luminance": 0.16291
}

Semantic roles & 50–950 ramp

primary
#2C6ED1
secondary
#D2B487
accent
#A540E8
background
#F8F9FD
surface
#F0F1FB
border
#CBCBD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #2C6ED1

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#2C6ED1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva