#2C6DB7#2C6DB7

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

Color values

HEX#2C6DB7
RGBrgb(44, 109, 183)
HSLhsl(212, 61%, 45%)
HSVhsv(212, 76%, 72%)
CMYKcmyk(76%, 40.4%, 0%, 28.2%)
CIE-LABlab(45.48, 5.50, -45.01)
CIE-LCHlch(45.48, 45.34, 276.96°)
OKLaboklab(53.11% -0.0368 -0.1285)
OKLCHoklch(53.11% 0.134 254)
XYZxyz(15.0514, 14.8899, 46.8713)
Luminance0.1489 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C6DB7 #B7762C
analogous
#2CB3B7 #2C6DB7 #302CB7
triadic
#2C6DB7 #B72C6D #6DB72C
tetradic
#2C6DB7 #B72CB3 #B7762C #2CB730
square
#2C6DB7 #B72CB3 #B7762C #2CB730
split-complementary
#2C6DB7 #B7302C #B3B72C
monochromatic
#143254 #205086 #2C6DB7 #4C8CD4 #7EACE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C6DB7#FFFFFF#000000##FFFFFF
##2C6DB71.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)
#4A73BA
Deuteranopia (green-blind)
#3366B6
Tritanopia (blue-blind)
#007E89
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2c6db7;
/* rgb */ color: rgb(44, 109, 183);
/* oklch */ color: oklch(53.1% 0.134 254.0);
Tailwind
colors: {
  custom: {
    50: '#7996cd',
    500: '#2c6db7',
    950: '#000000',
  },
}
SCSS
$custom: #2c6db7;
$custom-light: #7996cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2c6db7",
  "rgb": {
    "r": 44,
    "g": 109,
    "b": 183
  },
  "hsl": {
    "h": 211.942,
    "s": 61.233,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53111,
    "c": 0.13372,
    "h": 254
  },
  "luminance": 0.14892
}

Semantic roles & 50–950 ramp

primary
#2C6DB7
secondary
#C8A276
accent
#9943E4
background
#F7F9FC
surface
#EEF1F9
border
#C9CBD2
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2C6DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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