#2C6CB1#2C6CB1

#2C6CB1 is a mid, vivid cyan. Relative luminance 0.144; OKLCH L 52.5% C 0.127 H 252.9°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#2C6CB1
RGBrgb(44, 108, 177)
HSLhsl(211, 60%, 43%)
HSVhsv(211, 75%, 69%)
CMYKcmyk(75.1%, 39%, 0%, 30.6%)
CIE-LABlab(44.85, 3.87, -42.52)
CIE-LCHlch(44.85, 42.70, 275.20°)
OKLaboklab(52.51% -0.0374 -0.1213)
OKLCHoklch(52.51% 0.127 252.9)
XYZxyz(14.3341, 14.4333, 43.6169)
Luminance0.1444 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C6CB1 #B1712C
analogous
#2CAEB1 #2C6CB1 #2F2CB1
triadic
#2C6CB1 #B12C6C #6CB12C
tetradic
#2C6CB1 #B12CAE #B1712C #2CB12F
square
#2C6CB1 #B12CAE #B1712C #2CB12F
split-complementary
#2C6CB1 #B12F2C #AEB12C
monochromatic
#14304F #204E80 #2C6CB1 #498BD2 #7AAADE

Accessibility & contrast

On white

5.40
#2C6CB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#2C6CB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C6CB1
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C6CB1#FFFFFF#000000##FFFFFF
##2C6CB11.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C71B4
Deuteranopia (green-blind)
#3764B0
Tritanopia (blue-blind)
#007C86
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2c6cb1;
/* rgb */ color: rgb(44, 108, 177);
/* oklch */ color: oklch(52.5% 0.127 252.9);
Tailwind
colors: {
  custom: {
    50: '#7795c9',
    500: '#2c6cb1',
    950: '#000000',
  },
}
SCSS
$custom: #2c6cb1;
$custom-light: #7795c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c6cb1",
  "rgb": {
    "r": 44,
    "g": 108,
    "b": 177
  },
  "hsl": {
    "h": 211.128,
    "s": 60.181,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52505,
    "c": 0.1269,
    "h": 252.9
  },
  "luminance": 0.14435
}

Semantic roles & 50–950 ramp

primary
#2C6CB1
secondary
#C69E73
accent
#9744E3
background
#F7F9FC
surface
#EEF1F8
border
#C9CBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2C6CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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