#2C6BB7#2C6BB7

#2C6BB7 is a mid, vivid cyan. Relative luminance 0.145; OKLCH L 52.7% C 0.136 H 255.1°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#2C6BB7
RGBrgb(44, 107, 183)
HSLhsl(213, 61%, 45%)
HSVhsv(213, 76%, 72%)
CMYKcmyk(76%, 41.5%, 0%, 28.2%)
CIE-LABlab(44.90, 6.75, -45.94)
CIE-LCHlch(44.90, 46.44, 278.36°)
OKLaboklab(52.65% -0.0351 -0.1313)
OKLCHoklch(52.65% 0.136 255.1)
XYZxyz(14.8405, 14.4681, 46.8010)
Luminance0.1447 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C6BB7 #B7782C
analogous
#2CB0B7 #2C6BB7 #332CB7
triadic
#2C6BB7 #B72C6B #6BB72C
tetradic
#2C6BB7 #B72CB0 #B7782C #2CB733
square
#2C6BB7 #B72CB0 #B7782C #2CB733
split-complementary
#2C6BB7 #B7332C #B0B72C
monochromatic
#143154 #204E86 #2C6BB7 #4C8AD4 #7EAAE0

Accessibility & contrast

On white

5.39
#2C6BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#2C6BB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C6BB7
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C6BB7#FFFFFF#000000##FFFFFF
##2C6BB71.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4671BA
Deuteranopia (green-blind)
#2E64B5
Tritanopia (blue-blind)
#007D88
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2c6bb7;
/* rgb */ color: rgb(44, 107, 183);
/* oklch */ color: oklch(52.7% 0.136 255.1);
Tailwind
colors: {
  custom: {
    50: '#7994cd',
    500: '#2c6bb7',
    950: '#000000',
  },
}
SCSS
$custom: #2c6bb7;
$custom-light: #7994cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2c6bb7",
  "rgb": {
    "r": 44,
    "g": 107,
    "b": 183
  },
  "hsl": {
    "h": 212.806,
    "s": 61.233,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52655,
    "c": 0.13592,
    "h": 255.1
  },
  "luminance": 0.1447
}

Semantic roles & 50–950 ramp

primary
#2C6BB7
secondary
#C8A376
accent
#9B43E4
background
#F7F9FC
surface
#EEF1F9
border
#C9CBD2
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2C6BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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