#2C6EBA#2C6EBA

#2C6EBA is a mid, vivid cyan. Relative luminance 0.152; OKLCH L 53.5% C 0.137 H 254.3°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#2C6EBA
RGBrgb(44, 110, 186)
HSLhsl(212, 62%, 45%)
HSVhsv(212, 76%, 73%)
CMYKcmyk(76.3%, 40.9%, 0%, 27.1%)
CIE-LABlab(45.95, 6.00, -46.01)
CIE-LCHlch(45.95, 46.40, 277.43°)
OKLaboklab(53.53% -0.037 -0.1315)
OKLCHoklch(53.53% 0.137 254.3)
XYZxyz(15.4743, 15.2307, 48.5691)
Luminance0.1523 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C6EBA #BA782C
analogous
#2CB5BA #2C6EBA #312CBA
triadic
#2C6EBA #BA2C6E #6EBA2C
tetradic
#2C6EBA #BA2CB5 #BA782C #2CBA31
square
#2C6EBA #BA2CB5 #BA782C #2CBA31
split-complementary
#2C6EBA #BA312C #B5BA2C
monochromatic
#153357 #205189 #2C6EBA #4E8DD5 #80ADE1

Accessibility & contrast

On white

5.19
#2C6EBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#2C6EBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C6EBA
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C6EBA#FFFFFF#000000##FFFFFF
##2C6EBA1.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4974BD
Deuteranopia (green-blind)
#3267B8
Tritanopia (blue-blind)
#00808B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2c6eba;
/* rgb */ color: rgb(44, 110, 186);
/* oklch */ color: oklch(53.5% 0.137 254.3);
Tailwind
colors: {
  custom: {
    50: '#7997cf',
    500: '#2c6eba',
    950: '#000000',
  },
}
SCSS
$custom: #2c6eba;
$custom-light: #7997cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2c6eba",
  "rgb": {
    "r": 44,
    "g": 110,
    "b": 186
  },
  "hsl": {
    "h": 212.113,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.5353,
    "c": 0.13658,
    "h": 254.3
  },
  "luminance": 0.15233
}

Semantic roles & 50–950 ramp

primary
#2C6EBA
secondary
#CAA478
accent
#9A43E5
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0D14
muted
#7C7E82

Preview Lab

Preview with #2C6EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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