#2E6CB6#2E6CB6

#2E6CB6 is a mid, vivid cyan. Relative luminance 0.147; OKLCH L 52.9% C 0.133 H 254.8°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#2E6CB6
RGBrgb(46, 108, 182)
HSLhsl(213, 60%, 45%)
HSVhsv(213, 75%, 71%)
CMYKcmyk(74.7%, 40.7%, 0%, 28.6%)
CIE-LABlab(45.20, 6.01, -44.88)
CIE-LCHlch(45.20, 45.28, 277.62°)
OKLaboklab(52.89% -0.0349 -0.1282)
OKLCHoklch(52.89% 0.133 254.8)
XYZxyz(14.9296, 14.6817, 46.2939)
Luminance0.1468 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E6CB6 #B6782E
analogous
#2EB0B6 #2E6CB6 #342EB6
triadic
#2E6CB6 #B62E6C #6CB62E
tetradic
#2E6CB6 #B62EB0 #B6782E #2EB634
square
#2E6CB6 #B62EB0 #B6782E #2EB634
split-complementary
#2E6CB6 #B6342E #B0B62E
monochromatic
#153254 #224F85 #2E6CB6 #4F8BD2 #80ABDF

Accessibility & contrast

On white

5.33
#2E6CB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#2E6CB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E6CB6
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E6CB6#FFFFFF#000000##FFFFFF
##2E6CB61.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4972B9
Deuteranopia (green-blind)
#3265B5
Tritanopia (blue-blind)
#007D88
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2e6cb6;
/* rgb */ color: rgb(46, 108, 182);
/* oklch */ color: oklch(52.9% 0.133 254.8);
Tailwind
colors: {
  custom: {
    50: '#7995cc',
    500: '#2e6cb6',
    950: '#000000',
  },
}
SCSS
$custom: #2e6cb6;
$custom-light: #7995cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2e6cb6",
  "rgb": {
    "r": 46,
    "g": 108,
    "b": 182
  },
  "hsl": {
    "h": 212.647,
    "s": 59.649,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52886,
    "c": 0.13283,
    "h": 254.8
  },
  "luminance": 0.14683
}

Semantic roles & 50–950 ramp

primary
#2E6CB6
secondary
#C8A378
accent
#9B45E3
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2E6CB6

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

Preview Lab → · Contrast checker → · Palette generator →

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