#2C6CBC#2C6CBC

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

Color values

HEX#2C6CBC
RGBrgb(44, 108, 188)
HSLhsl(213, 62%, 45%)
HSVhsv(213, 77%, 74%)
CMYKcmyk(76.6%, 42.6%, 0%, 26.3%)
CIE-LABlab(45.48, 8.01, -47.91)
CIE-LCHlch(45.48, 48.58, 279.49°)
OKLaboklab(53.21% -0.0349 -0.1371)
OKLCHoklch(53.21% 0.141 255.7)
XYZxyz(15.4750, 14.8896, 49.6256)
Luminance0.1489 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C6CBC #BC7C2C
analogous
#2CB4BC #2C6CBC #342CBC
triadic
#2C6CBC #BC2C6C #6CBC2C
tetradic
#2C6CBC #BC2CB4 #BC7C2C #2CBC34
square
#2C6CBC #BC2CB4 #BC7C2C #2CBC34
split-complementary
#2C6CBC #BC342C #B4BC2C
monochromatic
#153359 #20508A #2C6CBC #4F8BD6 #81ACE1

Accessibility & contrast

On white

5.28
#2C6CBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#2C6CBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C6CBC
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C6CBC#FFFFFF#000000##FFFFFF
##2C6CBC1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4573BF
Deuteranopia (green-blind)
#2B66BA
Tritanopia (blue-blind)
#007F8B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2c6cbc;
/* rgb */ color: rgb(44, 108, 188);
/* oklch */ color: oklch(53.2% 0.141 255.7);
Tailwind
colors: {
  custom: {
    50: '#7a95d1',
    500: '#2c6cbc',
    950: '#000000',
  },
}
SCSS
$custom: #2c6cbc;
$custom-light: #7a95d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2c6cbc",
  "rgb": {
    "r": 44,
    "g": 108,
    "b": 188
  },
  "hsl": {
    "h": 213.333,
    "s": 62.069,
    "l": 45.49
  },
  "oklch": {
    "l": 0.53205,
    "c": 0.14145,
    "h": 255.7
  },
  "luminance": 0.14891
}

Semantic roles & 50–950 ramp

primary
#2C6CBC
secondary
#CAA679
accent
#9D43E5
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #2C6CBC

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

Preview Lab → · Contrast checker → · Palette generator →

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