#2C6EB9#2C6EB9

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

Color values

HEX#2C6EB9
RGBrgb(44, 110, 185)
HSLhsl(212, 62%, 45%)
HSVhsv(212, 76%, 73%)
CMYKcmyk(76.2%, 40.5%, 0%, 27.5%)
CIE-LABlab(45.89, 5.62, -45.52)
CIE-LCHlch(45.89, 45.86, 277.04°)
OKLaboklab(53.47% -0.0373 -0.13)
OKLCHoklch(53.47% 0.135 254)
XYZxyz(15.3683, 15.1883, 48.0112)
Luminance0.1519 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C6EB9 #B9772C
analogous
#2CB4B9 #2C6EB9 #312CB9
triadic
#2C6EB9 #B92C6E #6EB92C
tetradic
#2C6EB9 #B92CB4 #B9772C #2CB931
square
#2C6EB9 #B92CB4 #B9772C #2CB931
split-complementary
#2C6EB9 #B9312C #B4B92C
monochromatic
#143356 #205188 #2C6EB9 #4D8DD5 #7FADE1

Accessibility & contrast

On white

5.20
#2C6EB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#2C6EB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C6EB9
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C6EB9#FFFFFF#000000##FFFFFF
##2C6EB91.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A74BC
Deuteranopia (green-blind)
#3367B8
Tritanopia (blue-blind)
#00808A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2c6eb9;
/* rgb */ color: rgb(44, 110, 185);
/* oklch */ color: oklch(53.5% 0.135 254.0);
Tailwind
colors: {
  custom: {
    50: '#7997ce',
    500: '#2c6eb9',
    950: '#000000',
  },
}
SCSS
$custom: #2c6eb9;
$custom-light: #7997ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2c6eb9",
  "rgb": {
    "r": 44,
    "g": 110,
    "b": 185
  },
  "hsl": {
    "h": 211.915,
    "s": 61.572,
    "l": 44.902
  },
  "oklch": {
    "l": 0.53466,
    "c": 0.13527,
    "h": 254
  },
  "luminance": 0.1519
}

Semantic roles & 50–950 ramp

primary
#2C6EB9
secondary
#C9A378
accent
#9943E5
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0D14
muted
#7C7E82

Preview Lab

Preview with #2C6EB9

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

Preview Lab → · Contrast checker → · Palette generator →

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