#2C6BAC#2C6BAC

#2C6BAC is a mid, vivid cyan. Relative luminance 0.140; OKLCH L 52.0% C 0.121 H 251.9°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#2C6BAC
RGBrgb(44, 107, 172)
HSLhsl(210, 59%, 42%)
HSVhsv(210, 74%, 67%)
CMYKcmyk(74.4%, 37.8%, 0%, 32.5%)
CIE-LABlab(44.27, 2.62, -40.51)
CIE-LCHlch(44.27, 40.60, 273.70°)
OKLaboklab(51.97% -0.0377 -0.1154)
OKLCHoklch(51.97% 0.121 251.9)
XYZxyz(13.7400, 14.0279, 41.0052)
Luminance0.1403 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C6BAC #AC6D2C
analogous
#2CABAC #2C6BAC #2D2CAC
triadic
#2C6BAC #AC2C6B #6BAC2C
tetradic
#2C6BAC #AC2CAB #AC6D2C #2CAC2D
square
#2C6BAC #AC2CAB #AC6D2C #2CAC2D
split-complementary
#2C6BAC #AC2D2C #ABAC2C
monochromatic
#132E4B #204D7B #2C6BAC #468AD0 #76A8DC

Accessibility & contrast

On white

5.52
#2C6BAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#2C6BAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C6BAC
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C6BAC#FFFFFF#000000##FFFFFF
##2C6BAC1.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D6FAF
Deuteranopia (green-blind)
#3A63AB
Tritanopia (blue-blind)
#007A83
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2c6bac;
/* rgb */ color: rgb(44, 107, 172);
/* oklch */ color: oklch(52.0% 0.121 251.9);
Tailwind
colors: {
  custom: {
    50: '#7694c5',
    500: '#2c6bac',
    950: '#000000',
  },
}
SCSS
$custom: #2c6bac;
$custom-light: #7694c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c6bac",
  "rgb": {
    "r": 44,
    "g": 107,
    "b": 172
  },
  "hsl": {
    "h": 210.469,
    "s": 59.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.51966,
    "c": 0.12139,
    "h": 251.9
  },
  "luminance": 0.14029
}

Semantic roles & 50–950 ramp

primary
#2C6BAC
secondary
#C49B70
accent
#9545E2
background
#F7F9FC
surface
#EEF1F8
border
#C9CBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2C6BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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