#2E548D#2E548D

#2E548D is a dark, moderate blue. Relative luminance 0.088; OKLCH L 44.7% C 0.104 H 258.3°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#2E548D
RGBrgb(46, 84, 141)
HSLhsl(216, 51%, 37%)
HSVhsv(216, 67%, 55%)
CMYKcmyk(67.4%, 40.4%, 0%, 44.7%)
CIE-LABlab(35.68, 6.00, -35.64)
CIE-LCHlch(35.68, 36.14, 279.55°)
OKLaboklab(44.72% -0.0209 -0.1014)
OKLCHoklch(44.72% 0.104 258.3)
XYZxyz(9.1030, 8.8437, 26.4214)
Luminance0.0885 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E548D #8D672E
analogous
#2E848D #2E548D #382E8D
triadic
#2E548D #8D2E54 #548D2E
tetradic
#2E548D #8D2E84 #8D672E #2E8D38
square
#2E548D #8D2E84 #8D672E #2E8D38
split-complementary
#2E548D #8D382E #848D2E
monochromatic
#101D31 #1F395F #2E548D #3D6FBB #6891CE

Accessibility & contrast

On white

7.58
#2E548D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#2E548D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E548D
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E548D#FFFFFF#000000##FFFFFF
##2E548D1.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e548d;
/* rgb */ color: rgb(46, 84, 141);
/* oklch */ color: oklch(44.7% 0.104 258.3);
Tailwind
colors: {
  custom: {
    50: '#7183af',
    500: '#2e548d',
    950: '#000000',
  },
}
SCSS
$custom: #2e548d;
$custom-light: #7183af;
$custom-dark: #000000;
JSON
{
  "hex": "#2e548d",
  "rgb": {
    "r": 46,
    "g": 84,
    "b": 141
  },
  "hsl": {
    "h": 216,
    "s": 50.802,
    "l": 36.667
  },
  "oklch": {
    "l": 0.44719,
    "c": 0.10358,
    "h": 258.3
  },
  "luminance": 0.08845
}

Semantic roles & 50–950 ramp

primary
#2E548D
secondary
#B59462
accent
#A24EDA
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2E548D

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

Preview Lab → · Contrast checker → · Palette generator →

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