#2E558D#2E558D

#2E558D is a dark, moderate blue. Relative luminance 0.090; OKLCH L 45.0% C 0.102 H 257.6°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#2E558D
RGBrgb(46, 85, 141)
HSLhsl(215, 51%, 37%)
HSVhsv(215, 67%, 55%)
CMYKcmyk(67.4%, 39.7%, 0%, 44.7%)
CIE-LABlab(35.98, 5.35, -35.16)
CIE-LCHlch(35.98, 35.56, 278.65°)
OKLaboklab(44.95% -0.022 -0.1)
OKLCHoklch(44.95% 0.102 257.6)
XYZxyz(9.1812, 9.0000, 26.4475)
Luminance0.0900 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E558D #8D662E
analogous
#2E858D #2E558D #362E8D
triadic
#2E558D #8D2E55 #558D2E
tetradic
#2E558D #8D2E85 #8D662E #2E8D36
square
#2E558D #8D2E85 #8D662E #2E8D36
split-complementary
#2E558D #8D362E #858D2E
monochromatic
#101D31 #1F395F #2E558D #3D71BB #6892CE

Accessibility & contrast

On white

7.50
#2E558D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#2E558D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E558D
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E558D#FFFFFF#000000##FFFFFF
##2E558D1.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C598F
Deuteranopia (green-blind)
#2E518C
Tritanopia (blue-blind)
#00626A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2e558d;
/* rgb */ color: rgb(46, 85, 141);
/* oklch */ color: oklch(45.0% 0.102 257.6);
Tailwind
colors: {
  custom: {
    50: '#7184ae',
    500: '#2e558d',
    950: '#000000',
  },
}
SCSS
$custom: #2e558d;
$custom-light: #7184ae;
$custom-dark: #000000;
JSON
{
  "hex": "#2e558d",
  "rgb": {
    "r": 46,
    "g": 85,
    "b": 141
  },
  "hsl": {
    "h": 215.368,
    "s": 50.802,
    "l": 36.667
  },
  "oklch": {
    "l": 0.44954,
    "c": 0.10241,
    "h": 257.6
  },
  "luminance": 0.09001
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E558D

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

Preview Lab → · Contrast checker → · Palette generator →

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