#2C6EB8#2C6EB8

#2C6EB8 is a mid, vivid cyan. Relative luminance 0.151; OKLCH L 53.4% C 0.134 H 253.7°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#2C6EB8
RGBrgb(44, 110, 184)
HSLhsl(212, 61%, 45%)
HSVhsv(212, 76%, 72%)
CMYKcmyk(76.1%, 40.2%, 0%, 27.8%)
CIE-LABlab(45.83, 5.25, -45.03)
CIE-LCHlch(45.83, 45.33, 276.65°)
OKLaboklab(53.4% -0.0375 -0.1286)
OKLCHoklch(53.4% 0.134 253.7)
XYZxyz(15.2631, 15.1463, 47.4572)
Luminance0.1515 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C6EB8 #B8762C
analogous
#2CB4B8 #2C6EB8 #302CB8
triadic
#2C6EB8 #B82C6E #6EB82C
tetradic
#2C6EB8 #B82CB4 #B8762C #2CB830
square
#2C6EB8 #B82CB4 #B8762C #2CB830
split-complementary
#2C6EB8 #B8302C #B4B82C
monochromatic
#143355 #205087 #2C6EB8 #4D8DD4 #7EACE0

Accessibility & contrast

On white

5.21
#2C6EB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#2C6EB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C6EB8
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C6EB8#FFFFFF#000000##FFFFFF
##2C6EB81.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B74BB
Deuteranopia (green-blind)
#3467B7
Tritanopia (blue-blind)
#007F8A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2c6eb8;
/* rgb */ color: rgb(44, 110, 184);
/* oklch */ color: oklch(53.4% 0.134 253.7);
Tailwind
colors: {
  custom: {
    50: '#7997ce',
    500: '#2c6eb8',
    950: '#000000',
  },
}
SCSS
$custom: #2c6eb8;
$custom-light: #7997ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2c6eb8",
  "rgb": {
    "r": 44,
    "g": 110,
    "b": 184
  },
  "hsl": {
    "h": 211.714,
    "s": 61.404,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53403,
    "c": 0.13395,
    "h": 253.7
  },
  "luminance": 0.15148
}

Semantic roles & 50–950 ramp

primary
#2C6EB8
secondary
#C9A277
accent
#9943E5
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2C6EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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