#2C6DB5#2C6DB5

#2C6DB5 is a mid, vivid cyan. Relative luminance 0.148; OKLCH L 53.0% C 0.131 H 253.5°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#2C6DB5
RGBrgb(44, 109, 181)
HSLhsl(212, 61%, 44%)
HSVhsv(212, 76%, 71%)
CMYKcmyk(75.7%, 39.8%, 0%, 29%)
CIE-LABlab(45.37, 4.74, -44.03)
CIE-LCHlch(45.37, 44.28, 276.15°)
OKLaboklab(52.99% -0.0373 -0.1257)
OKLCHoklch(52.99% 0.131 253.5)
XYZxyz(14.8447, 14.8072, 45.7828)
Luminance0.1481 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C6DB5 #B5742C
analogous
#2CB2B5 #2C6DB5 #302CB5
triadic
#2C6DB5 #B52C6D #6DB52C
tetradic
#2C6DB5 #B52CB2 #B5742C #2CB530
square
#2C6DB5 #B52CB2 #B5742C #2CB530
split-complementary
#2C6DB5 #B5302C #B2B52C
monochromatic
#143253 #204F84 #2C6DB5 #4B8CD3 #7CABDF

Accessibility & contrast

On white

5.30
#2C6DB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#2C6DB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C6DB5
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C6DB5#FFFFFF#000000##FFFFFF
##2C6DB51.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B72B8
Deuteranopia (green-blind)
#3566B4
Tritanopia (blue-blind)
#007E88
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2c6db5;
/* rgb */ color: rgb(44, 109, 181);
/* oklch */ color: oklch(53.0% 0.131 253.5);
Tailwind
colors: {
  custom: {
    50: '#7896cb',
    500: '#2c6db5',
    950: '#000000',
  },
}
SCSS
$custom: #2c6db5;
$custom-light: #7896cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2c6db5",
  "rgb": {
    "r": 44,
    "g": 109,
    "b": 181
  },
  "hsl": {
    "h": 211.533,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52985,
    "c": 0.13108,
    "h": 253.5
  },
  "luminance": 0.14809
}

Semantic roles & 50–950 ramp

primary
#2C6DB5
secondary
#C8A175
accent
#9844E4
background
#F7F9FC
surface
#EEF1F8
border
#C9CBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2C6DB5

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

Preview Lab → · Contrast checker → · Palette generator →

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