#2E6CB3#2E6CB3

#2E6CB3 is a mid, vivid cyan. Relative luminance 0.146; OKLCH L 52.7% C 0.129 H 253.9°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#2E6CB3
RGBrgb(46, 108, 179)
HSLhsl(212, 59%, 44%)
HSVhsv(212, 74%, 70%)
CMYKcmyk(74.3%, 39.7%, 0%, 29.8%)
CIE-LABlab(45.02, 4.88, -43.41)
CIE-LCHlch(45.02, 43.68, 276.42°)
OKLaboklab(52.7% -0.0356 -0.1238)
OKLCHoklch(52.7% 0.129 253.9)
XYZxyz(14.6229, 14.5590, 44.6786)
Luminance0.1456 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E6CB3 #B3752E
analogous
#2EAFB3 #2E6CB3 #332EB3
triadic
#2E6CB3 #B32E6C #6CB32E
tetradic
#2E6CB3 #B32EAF #B3752E #2EB333
square
#2E6CB3 #B32EAF #B3752E #2EB333
split-complementary
#2E6CB3 #B3332E #AFB32E
monochromatic
#153152 #214F82 #2E6CB3 #4D8BD1 #7EAADE

Accessibility & contrast

On white

5.37
#2E6CB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#2E6CB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E6CB3
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E6CB3#FFFFFF#000000##FFFFFF
##2E6CB31.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B71B6
Deuteranopia (green-blind)
#3665B2
Tritanopia (blue-blind)
#007D87
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2e6cb3;
/* rgb */ color: rgb(46, 108, 179);
/* oklch */ color: oklch(52.7% 0.129 253.9);
Tailwind
colors: {
  custom: {
    50: '#7895ca',
    500: '#2e6cb3',
    950: '#000000',
  },
}
SCSS
$custom: #2e6cb3;
$custom-light: #7895ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2e6cb3",
  "rgb": {
    "r": 46,
    "g": 108,
    "b": 179
  },
  "hsl": {
    "h": 212.03,
    "s": 59.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52697,
    "c": 0.12886,
    "h": 253.9
  },
  "luminance": 0.14561
}

Semantic roles & 50–950 ramp

primary
#2E6CB3
secondary
#C6A176
accent
#9946E2
background
#F7F9FC
surface
#EEF1F8
border
#C9CBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2E6CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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