#2C6BAB#2C6BAB

#2C6BAB is a mid, vivid cyan. Relative luminance 0.140; OKLCH L 51.9% C 0.120 H 251.6°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#2C6BAB
RGBrgb(44, 107, 171)
HSLhsl(210, 59%, 42%)
HSVhsv(210, 74%, 67%)
CMYKcmyk(74.3%, 37.4%, 0%, 32.9%)
CIE-LABlab(44.22, 2.24, -40.01)
CIE-LCHlch(44.22, 40.07, 273.21°)
OKLaboklab(51.91% -0.038 -0.1139)
OKLCHoklch(51.91% 0.12 251.6)
XYZxyz(13.6443, 13.9896, 40.5013)
Luminance0.1399 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C6BAB #AB6C2C
analogous
#2CABAB #2C6BAB #2C2CAB
triadic
#2C6BAB #AB2C6B #6BAB2C
tetradic
#2C6BAB #AB2CAB #AB6C2C #2CAB2C
square
#2C6BAB #AB2CAB #AB6C2C #2CAB2C
split-complementary
#2C6BAB #AB2C2C #ABAB2C
monochromatic
#132E4A #1F4D7A #2C6BAB #458ACF #76A8DC

Accessibility & contrast

On white

5.53
#2C6BAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#2C6BAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C6BAB
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C6BAB#FFFFFF#000000##FFFFFF
##2C6BAB1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c6bab;
/* rgb */ color: rgb(44, 107, 171);
/* oklch */ color: oklch(51.9% 0.120 251.6);
Tailwind
colors: {
  custom: {
    50: '#7695c4',
    500: '#2c6bab',
    950: '#000000',
  },
}
SCSS
$custom: #2c6bab;
$custom-light: #7695c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c6bab",
  "rgb": {
    "r": 44,
    "g": 107,
    "b": 171
  },
  "hsl": {
    "h": 210.236,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.51905,
    "c": 0.12009,
    "h": 251.6
  },
  "luminance": 0.13991
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C6BAB

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

Preview Lab → · Contrast checker → · Palette generator →

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