#2C6CB4#2C6CB4

#2C6CB4 is a mid, vivid cyan. Relative luminance 0.146; OKLCH L 52.7% C 0.131 H 253.7°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#2C6CB4
RGBrgb(44, 108, 180)
HSLhsl(212, 61%, 44%)
HSVhsv(212, 76%, 71%)
CMYKcmyk(75.6%, 40%, 0%, 29.4%)
CIE-LABlab(45.02, 4.99, -44.00)
CIE-LCHlch(45.02, 44.29, 276.47°)
OKLaboklab(52.69% -0.0366 -0.1256)
OKLCHoklch(52.69% 0.131 253.7)
XYZxyz(14.6364, 14.5542, 45.2090)
Luminance0.1456 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C6CB4 #B4742C
analogous
#2CB0B4 #2C6CB4 #302CB4
triadic
#2C6CB4 #B42C6C #6CB42C
tetradic
#2C6CB4 #B42CB0 #B4742C #2CB430
square
#2C6CB4 #B42CB0 #B4742C #2CB430
split-complementary
#2C6CB4 #B4302C #B0B42C
monochromatic
#143152 #204E83 #2C6CB4 #4A8BD3 #7CAADF

Accessibility & contrast

On white

5.37
#2C6CB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#2C6CB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C6CB4
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C6CB4#FFFFFF#000000##FFFFFF
##2C6CB41.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A71B7
Deuteranopia (green-blind)
#3465B3
Tritanopia (blue-blind)
#007D87
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2c6cb4;
/* rgb */ color: rgb(44, 108, 180);
/* oklch */ color: oklch(52.7% 0.131 253.7);
Tailwind
colors: {
  custom: {
    50: '#7895cb',
    500: '#2c6cb4',
    950: '#000000',
  },
}
SCSS
$custom: #2c6cb4;
$custom-light: #7895cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2c6cb4",
  "rgb": {
    "r": 44,
    "g": 108,
    "b": 180
  },
  "hsl": {
    "h": 211.765,
    "s": 60.714,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52693,
    "c": 0.13085,
    "h": 253.7
  },
  "luminance": 0.14556
}

Semantic roles & 50–950 ramp

primary
#2C6CB4
secondary
#C7A075
accent
#9944E4
background
#F7F9FC
surface
#EEF1F8
border
#C9CBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2C6CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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