#2C6EB7#2C6EB7

#2C6EB7 is a mid, vivid cyan. Relative luminance 0.151; OKLCH L 53.3% C 0.133 H 253.5°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#2C6EB7
RGBrgb(44, 110, 183)
HSLhsl(212, 61%, 45%)
HSVhsv(212, 76%, 72%)
CMYKcmyk(76%, 39.9%, 0%, 28.2%)
CIE-LABlab(45.78, 4.87, -44.54)
CIE-LCHlch(45.78, 44.80, 276.24°)
OKLaboklab(53.34% -0.0377 -0.1272)
OKLCHoklch(53.34% 0.133 253.5)
XYZxyz(15.1587, 15.1045, 46.9071)
Luminance0.1511 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C6EB7 #B7752C
analogous
#2CB3B7 #2C6EB7 #302CB7
triadic
#2C6EB7 #B72C6E #6EB72C
tetradic
#2C6EB7 #B72CB3 #B7752C #2CB730
square
#2C6EB7 #B72CB3 #B7752C #2CB730
split-complementary
#2C6EB7 #B7302C #B3B72C
monochromatic
#143354 #205086 #2C6EB7 #4C8DD4 #7EACE0

Accessibility & contrast

On white

5.22
#2C6EB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#2C6EB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C6EB7
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C6EB7#FFFFFF#000000##FFFFFF
##2C6EB71.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B73BA
Deuteranopia (green-blind)
#3567B6
Tritanopia (blue-blind)
#007F89
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2c6eb7;
/* rgb */ color: rgb(44, 110, 183);
/* oklch */ color: oklch(53.3% 0.133 253.5);
Tailwind
colors: {
  custom: {
    50: '#7997cd',
    500: '#2c6eb7',
    950: '#000000',
  },
}
SCSS
$custom: #2c6eb7;
$custom-light: #7997cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2c6eb7",
  "rgb": {
    "r": 44,
    "g": 110,
    "b": 183
  },
  "hsl": {
    "h": 211.511,
    "s": 61.233,
    "l": 44.51
  },
  "oklch": {
    "l": 0.5334,
    "c": 0.13264,
    "h": 253.5
  },
  "luminance": 0.15106
}

Semantic roles & 50–950 ramp

primary
#2C6EB7
secondary
#C8A176
accent
#9843E4
background
#F7F9FC
surface
#EEF2F9
border
#C9CCD2
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2C6EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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