#2E548B#2E548B

#2E548B is a dark, moderate blue. Relative luminance 0.088; OKLCH L 44.6% C 0.101 H 257.7°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#2E548B
RGBrgb(46, 84, 139)
HSLhsl(215, 50%, 36%)
HSVhsv(215, 67%, 55%)
CMYKcmyk(66.9%, 39.6%, 0%, 45.5%)
CIE-LABlab(35.57, 5.25, -34.60)
CIE-LCHlch(35.57, 35.00, 278.63°)
OKLaboklab(44.59% -0.0214 -0.0984)
OKLCHoklch(44.59% 0.101 257.7)
XYZxyz(8.9556, 8.7847, 25.6447)
Luminance0.0879 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E548B #8B652E
analogous
#2E838B #2E548B #372E8B
triadic
#2E548B #8B2E54 #548B2E
tetradic
#2E548B #8B2E83 #8B652E #2E8B37
square
#2E548B #8B2E83 #8B652E #2E8B37
split-complementary
#2E548B #8B372E #838B2E
monochromatic
#101C2F #1F385D #2E548B #3D70B9 #6790CD

Accessibility & contrast

On white

7.62
#2E548B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#2E548B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E548B
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E548B#FFFFFF#000000##FFFFFF
##2E548B1.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C588D
Deuteranopia (green-blind)
#2E508A
Tritanopia (blue-blind)
#006169
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2e548b;
/* rgb */ color: rgb(46, 84, 139);
/* oklch */ color: oklch(44.6% 0.101 257.7);
Tailwind
colors: {
  custom: {
    50: '#7183ad',
    500: '#2e548b',
    950: '#000000',
  },
}
SCSS
$custom: #2e548b;
$custom-light: #7183ad;
$custom-dark: #000000;
JSON
{
  "hex": "#2e548b",
  "rgb": {
    "r": 46,
    "g": 84,
    "b": 139
  },
  "hsl": {
    "h": 215.484,
    "s": 50.27,
    "l": 36.275
  },
  "oklch": {
    "l": 0.44592,
    "c": 0.10071,
    "h": 257.7
  },
  "luminance": 0.08786
}

Semantic roles & 50–950 ramp

primary
#2E548B
secondary
#B39261
accent
#A14EDA
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2E548B

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

Preview Lab → · Contrast checker → · Palette generator →

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