#2C6AAB#2C6AAB

#2C6AAB is a mid, vivid cyan. Relative luminance 0.138; OKLCH L 51.7% C 0.121 H 252.2°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#2C6AAB
RGBrgb(44, 106, 171)
HSLhsl(211, 59%, 42%)
HSVhsv(211, 74%, 67%)
CMYKcmyk(74.3%, 38%, 0%, 32.9%)
CIE-LABlab(43.92, 2.87, -40.49)
CIE-LCHlch(43.92, 40.59, 274.05°)
OKLaboklab(51.67% -0.037 -0.1153)
OKLCHoklch(51.67% 0.121 252.2)
XYZxyz(13.5407, 13.7823, 40.4668)
Luminance0.1378 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C6AAB #AB6D2C
analogous
#2CAAAB #2C6AAB #2E2CAB
triadic
#2C6AAB #AB2C6A #6AAB2C
tetradic
#2C6AAB #AB2CAA #AB6D2C #2CAB2E
square
#2C6AAB #AB2CAA #AB6D2C #2CAB2E
split-complementary
#2C6AAB #AB2E2C #AAAB2C
monochromatic
#132E4A #1F4C7A #2C6AAB #4588CF #76A7DC

Accessibility & contrast

On white

5.59
#2C6AAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#2C6AAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C6AAB
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C6AAB#FFFFFF#000000##FFFFFF
##2C6AAB1.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C6EAE
Deuteranopia (green-blind)
#3962AA
Tritanopia (blue-blind)
#007982
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2c6aab;
/* rgb */ color: rgb(44, 106, 171);
/* oklch */ color: oklch(51.7% 0.121 252.2);
Tailwind
colors: {
  custom: {
    50: '#7694c4',
    500: '#2c6aab',
    950: '#000000',
  },
}
SCSS
$custom: #2c6aab;
$custom-light: #7694c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c6aab",
  "rgb": {
    "r": 44,
    "g": 106,
    "b": 171
  },
  "hsl": {
    "h": 210.709,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.51671,
    "c": 0.12112,
    "h": 252.2
  },
  "luminance": 0.13784
}

Semantic roles & 50–950 ramp

primary
#2C6AAB
secondary
#C39A6F
accent
#9646E2
background
#F7F9FC
surface
#EEF1F8
border
#C9CBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2C6AAB

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

Preview Lab → · Contrast checker → · Palette generator →

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