#2E578B#2E578B

#2E578B is a mid, moderate cyan. Relative luminance 0.093; OKLCH L 45.3% C 0.097 H 255.3°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#2E578B
RGBrgb(46, 87, 139)
HSLhsl(214, 50%, 36%)
HSVhsv(214, 67%, 55%)
CMYKcmyk(66.9%, 37.4%, 0%, 45.5%)
CIE-LABlab(36.48, 3.31, -33.15)
CIE-LCHlch(36.48, 33.32, 275.70°)
OKLaboklab(45.3% -0.0247 -0.0941)
OKLCHoklch(45.3% 0.097 255.3)
XYZxyz(9.1934, 9.2604, 25.7240)
Luminance0.0926 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E578B #8B622E
analogous
#2E868B #2E578B #342E8B
triadic
#2E578B #8B2E57 #578B2E
tetradic
#2E578B #8B2E86 #8B622E #2E8B34
square
#2E578B #8B2E86 #8B622E #2E8B34
split-complementary
#2E578B #8B342E #868B2E
monochromatic
#101D2F #1F3A5D #2E578B #3D74B9 #6794CD

Accessibility & contrast

On white

7.36
#2E578B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#2E578B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E578B
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E578B#FFFFFF#000000##FFFFFF
##2E578B1.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405B8D
Deuteranopia (green-blind)
#33528A
Tritanopia (blue-blind)
#00636A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2e578b;
/* rgb */ color: rgb(46, 87, 139);
/* oklch */ color: oklch(45.3% 0.097 255.3);
Tailwind
colors: {
  custom: {
    50: '#7186ad',
    500: '#2e578b',
    950: '#000000',
  },
}
SCSS
$custom: #2e578b;
$custom-light: #7186ad;
$custom-dark: #000000;
JSON
{
  "hex": "#2e578b",
  "rgb": {
    "r": 46,
    "g": 87,
    "b": 139
  },
  "hsl": {
    "h": 213.548,
    "s": 50.27,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45304,
    "c": 0.0973,
    "h": 255.3
  },
  "luminance": 0.09261
}

Semantic roles & 50–950 ramp

primary
#2E578B
secondary
#B38F61
accent
#9C4EDA
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2E578B

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

Preview Lab → · Contrast checker → · Palette generator →

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