#2E6CB5#2E6CB5

#2E6CB5 is a mid, vivid cyan. Relative luminance 0.146; OKLCH L 52.8% C 0.132 H 254.5°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#2E6CB5
RGBrgb(46, 108, 181)
HSLhsl(212, 59%, 45%)
HSVhsv(212, 75%, 71%)
CMYKcmyk(74.6%, 40.3%, 0%, 29%)
CIE-LABlab(45.14, 5.63, -44.39)
CIE-LCHlch(45.14, 44.75, 277.23°)
OKLaboklab(52.82% -0.0352 -0.1267)
OKLCHoklch(52.82% 0.132 254.5)
XYZxyz(14.8267, 14.6405, 45.7516)
Luminance0.1464 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E6CB5 #B5772E
analogous
#2EB0B5 #2E6CB5 #332EB5
triadic
#2E6CB5 #B52E6C #6CB52E
tetradic
#2E6CB5 #B52EB0 #B5772E #2EB533
square
#2E6CB5 #B52EB0 #B5772E #2EB533
split-complementary
#2E6CB5 #B5332E #B0B52E
monochromatic
#153253 #224F84 #2E6CB5 #4E8BD2 #7FABDE

Accessibility & contrast

On white

5.35
#2E6CB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#2E6CB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E6CB5
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E6CB5#FFFFFF#000000##FFFFFF
##2E6CB51.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4972B8
Deuteranopia (green-blind)
#3465B4
Tritanopia (blue-blind)
#007D87
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2e6cb5;
/* rgb */ color: rgb(46, 108, 181);
/* oklch */ color: oklch(52.8% 0.132 254.5);
Tailwind
colors: {
  custom: {
    50: '#7995cb',
    500: '#2e6cb5',
    950: '#000000',
  },
}
SCSS
$custom: #2e6cb5;
$custom-light: #7995cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2e6cb5",
  "rgb": {
    "r": 46,
    "g": 108,
    "b": 181
  },
  "hsl": {
    "h": 212.444,
    "s": 59.471,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52823,
    "c": 0.13151,
    "h": 254.5
  },
  "luminance": 0.14642
}

Semantic roles & 50–950 ramp

primary
#2E6CB5
secondary
#C7A378
accent
#9A45E3
background
#F7F9FC
surface
#EEF1F8
border
#C9CBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2E6CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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