#2E6CB7#2E6CB7

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

Color values

HEX#2E6CB7
RGBrgb(46, 108, 183)
HSLhsl(213, 60%, 45%)
HSVhsv(213, 75%, 72%)
CMYKcmyk(74.9%, 41%, 0%, 28.2%)
CIE-LABlab(45.25, 6.38, -45.37)
CIE-LCHlch(45.25, 45.82, 278.01°)
OKLaboklab(52.95% -0.0347 -0.1296)
OKLCHoklch(52.95% 0.134 255)
XYZxyz(15.0334, 14.7232, 46.8401)
Luminance0.1472 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E6CB7 #B7792E
analogous
#2EB0B7 #2E6CB7 #352EB7
triadic
#2E6CB7 #B72E6C #6CB72E
tetradic
#2E6CB7 #B72EB0 #B7792E #2EB735
square
#2E6CB7 #B72EB0 #B7792E #2EB735
split-complementary
#2E6CB7 #B7352E #B0B72E
monochromatic
#153255 #224F86 #2E6CB7 #4F8BD3 #80ABDF

Accessibility & contrast

On white

5.32
#2E6CB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2E6CB7
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E6CB7#FFFFFF#000000##FFFFFF
##2E6CB71.005.323.945.32
#FFFFFF5.321.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4872BA
Deuteranopia (green-blind)
#3165B5
Tritanopia (blue-blind)
#007E88
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2e6cb7;
/* rgb */ color: rgb(46, 108, 183);
/* oklch */ color: oklch(52.9% 0.134 255.0);
Tailwind
colors: {
  custom: {
    50: '#7995cd',
    500: '#2e6cb7',
    950: '#000000',
  },
}
SCSS
$custom: #2e6cb7;
$custom-light: #7995cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2e6cb7",
  "rgb": {
    "r": 46,
    "g": 108,
    "b": 183
  },
  "hsl": {
    "h": 212.847,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.5295,
    "c": 0.13417,
    "h": 255
  },
  "luminance": 0.14725
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E6CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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