#2C6CBA#2C6CBA

#2C6CBA is a mid, vivid cyan. Relative luminance 0.148; OKLCH L 53.1% C 0.139 H 255.3°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#2C6CBA
RGBrgb(44, 108, 186)
HSLhsl(213, 62%, 45%)
HSVhsv(213, 76%, 73%)
CMYKcmyk(76.3%, 41.9%, 0%, 27.1%)
CIE-LABlab(45.36, 7.26, -46.94)
CIE-LCHlch(45.36, 47.50, 278.79°)
OKLaboklab(53.08% -0.0353 -0.1342)
OKLCHoklch(53.08% 0.139 255.3)
XYZxyz(15.2609, 14.8040, 48.4980)
Luminance0.1481 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C6CBA #BA7A2C
analogous
#2CB3BA #2C6CBA #332CBA
triadic
#2C6CBA #BA2C6C #6CBA2C
tetradic
#2C6CBA #BA2CB3 #BA7A2C #2CBA33
square
#2C6CBA #BA2CB3 #BA7A2C #2CBA33
split-complementary
#2C6CBA #BA332C #B3BA2C
monochromatic
#153357 #204F89 #2C6CBA #4E8BD5 #80ABE1

Accessibility & contrast

On white

5.30
#2C6CBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#2C6CBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C6CBA
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C6CBA#FFFFFF#000000##FFFFFF
##2C6CBA1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4672BD
Deuteranopia (green-blind)
#2D65B8
Tritanopia (blue-blind)
#007E8A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2c6cba;
/* rgb */ color: rgb(44, 108, 186);
/* oklch */ color: oklch(53.1% 0.139 255.3);
Tailwind
colors: {
  custom: {
    50: '#7995cf',
    500: '#2c6cba',
    950: '#000000',
  },
}
SCSS
$custom: #2c6cba;
$custom-light: #7995cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2c6cba",
  "rgb": {
    "r": 44,
    "g": 108,
    "b": 186
  },
  "hsl": {
    "h": 212.958,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.53076,
    "c": 0.13879,
    "h": 255.3
  },
  "luminance": 0.14806
}

Semantic roles & 50–950 ramp

primary
#2C6CBA
secondary
#CAA578
accent
#9C43E5
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0A0D14
muted
#7C7E82

Preview Lab

Preview with #2C6CBA

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

Preview Lab → · Contrast checker → · Palette generator →

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