#2E6DB7#2E6DB7

#2E6DB7 is a mid, vivid cyan. Relative luminance 0.149; OKLCH L 53.2% C 0.133 H 254.5°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#2E6DB7
RGBrgb(46, 109, 183)
HSLhsl(212, 60%, 45%)
HSVhsv(212, 75%, 72%)
CMYKcmyk(74.9%, 40.4%, 0%, 28.2%)
CIE-LABlab(45.55, 5.75, -44.90)
CIE-LCHlch(45.55, 45.27, 277.30°)
OKLaboklab(53.18% -0.0356 -0.1282)
OKLCHoklch(53.18% 0.133 254.5)
XYZxyz(15.1394, 14.9353, 46.8755)
Luminance0.1494 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E6DB7 #B7782E
analogous
#2EB1B7 #2E6DB7 #342EB7
triadic
#2E6DB7 #B72E6D #6DB72E
tetradic
#2E6DB7 #B72EB1 #B7782E #2EB734
square
#2E6DB7 #B72EB1 #B7782E #2EB734
split-complementary
#2E6DB7 #B7342E #B1B72E
monochromatic
#153355 #225086 #2E6DB7 #4F8CD3 #80ACDF

Accessibility & contrast

On white

5.27
#2E6DB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#2E6DB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E6DB7
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E6DB7#FFFFFF#000000##FFFFFF
##2E6DB71.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A73BA
Deuteranopia (green-blind)
#3366B6
Tritanopia (blue-blind)
#007E89
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2e6db7;
/* rgb */ color: rgb(46, 109, 183);
/* oklch */ color: oklch(53.2% 0.133 254.5);
Tailwind
colors: {
  custom: {
    50: '#7996cd',
    500: '#2e6db7',
    950: '#000000',
  },
}
SCSS
$custom: #2e6db7;
$custom-light: #7996cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2e6db7",
  "rgb": {
    "r": 46,
    "g": 109,
    "b": 183
  },
  "hsl": {
    "h": 212.409,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.53178,
    "c": 0.13307,
    "h": 254.5
  },
  "luminance": 0.14937
}

Semantic roles & 50–950 ramp

primary
#2E6DB7
secondary
#C8A479
accent
#9A45E3
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2E6DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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