#2C6DB8#2C6DB8

#2C6DB8 is a mid, vivid cyan. Relative luminance 0.149; OKLCH L 53.2% C 0.135 H 254.3°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#2C6DB8
RGBrgb(44, 109, 184)
HSLhsl(212, 61%, 45%)
HSVhsv(212, 76%, 72%)
CMYKcmyk(76.1%, 40.8%, 0%, 27.8%)
CIE-LABlab(45.54, 5.87, -45.50)
CIE-LCHlch(45.54, 45.87, 277.36°)
OKLaboklab(53.18% -0.0366 -0.13)
OKLCHoklch(53.18% 0.135 254.3)
XYZxyz(15.1559, 14.9317, 47.4214)
Luminance0.1493 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C6DB8 #B8772C
analogous
#2CB3B8 #2C6DB8 #312CB8
triadic
#2C6DB8 #B82C6D #6DB82C
tetradic
#2C6DB8 #B82CB3 #B8772C #2CB831
square
#2C6DB8 #B82CB3 #B8772C #2CB831
split-complementary
#2C6DB8 #B8312C #B3B82C
monochromatic
#143255 #205087 #2C6DB8 #4D8CD4 #7EACE0

Accessibility & contrast

On white

5.27
#2C6DB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#2C6DB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C6DB8
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C6DB8#FFFFFF#000000##FFFFFF
##2C6DB81.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4973BB
Deuteranopia (green-blind)
#3266B7
Tritanopia (blue-blind)
#007F89
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2c6db8;
/* rgb */ color: rgb(44, 109, 184);
/* oklch */ color: oklch(53.2% 0.135 254.3);
Tailwind
colors: {
  custom: {
    50: '#7996ce',
    500: '#2c6db8',
    950: '#000000',
  },
}
SCSS
$custom: #2c6db8;
$custom-light: #7996ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2c6db8",
  "rgb": {
    "r": 44,
    "g": 109,
    "b": 184
  },
  "hsl": {
    "h": 212.143,
    "s": 61.404,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53175,
    "c": 0.13504,
    "h": 254.3
  },
  "luminance": 0.14933
}

Semantic roles & 50–950 ramp

primary
#2C6DB8
secondary
#C9A377
accent
#9A43E5
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2C6DB8

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

Preview Lab → · Contrast checker → · Palette generator →

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