#2E558C#2E558C

#2E558C is a dark, moderate blue. Relative luminance 0.090; OKLCH L 44.9% C 0.101 H 257.3°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#2E558C
RGBrgb(46, 85, 140)
HSLhsl(215, 51%, 36%)
HSVhsv(215, 67%, 55%)
CMYKcmyk(67.1%, 39.3%, 0%, 45.1%)
CIE-LABlab(35.93, 4.97, -34.64)
CIE-LCHlch(35.93, 35.00, 278.17°)
OKLaboklab(44.89% -0.0222 -0.0985)
OKLCHoklch(44.89% 0.101 257.3)
XYZxyz(9.1071, 8.9704, 26.0574)
Luminance0.0897 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E558C #8C652E
analogous
#2E848C #2E558C #362E8C
triadic
#2E558C #8C2E55 #558C2E
tetradic
#2E558C #8C2E84 #8C652E #2E8C36
square
#2E558C #8C2E84 #8C652E #2E8C36
split-complementary
#2E558C #8C362E #848C2E
monochromatic
#101D30 #1F395E #2E558C #3D71BA #6792CD

Accessibility & contrast

On white

7.52
#2E558C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#2E558C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E558C
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E558C#FFFFFF#000000##FFFFFF
##2E558C1.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D598E
Deuteranopia (green-blind)
#2F508B
Tritanopia (blue-blind)
#006269
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2e558c;
/* rgb */ color: rgb(46, 85, 140);
/* oklch */ color: oklch(44.9% 0.101 257.3);
Tailwind
colors: {
  custom: {
    50: '#7184ae',
    500: '#2e558c',
    950: '#000000',
  },
}
SCSS
$custom: #2e558c;
$custom-light: #7184ae;
$custom-dark: #000000;
JSON
{
  "hex": "#2e558c",
  "rgb": {
    "r": 46,
    "g": 85,
    "b": 140
  },
  "hsl": {
    "h": 215.106,
    "s": 50.538,
    "l": 36.471
  },
  "oklch": {
    "l": 0.44891,
    "c": 0.10098,
    "h": 257.3
  },
  "luminance": 0.08971
}

Semantic roles & 50–950 ramp

primary
#2E558C
secondary
#B49262
accent
#A04EDA
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2E558C

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

Preview Lab → · Contrast checker → · Palette generator →

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