#2E548E#2E548E

#2E548E is a dark, moderate blue. Relative luminance 0.089; OKLCH L 44.8% C 0.105 H 258.6°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#2E548E
RGBrgb(46, 84, 142)
HSLhsl(216, 51%, 37%)
HSVhsv(216, 68%, 56%)
CMYKcmyk(67.6%, 40.8%, 0%, 44.3%)
CIE-LABlab(35.74, 6.37, -36.16)
CIE-LCHlch(35.74, 36.71, 279.99°)
OKLaboklab(44.78% -0.0207 -0.1029)
OKLCHoklch(44.78% 0.105 258.6)
XYZxyz(9.1778, 8.8736, 26.8150)
Luminance0.0887 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E548E #8E682E
analogous
#2E848E #2E548E #382E8E
triadic
#2E548E #8E2E54 #548E2E
tetradic
#2E548E #8E2E84 #8E682E #2E8E38
square
#2E548E #8E2E84 #8E682E #2E8E38
split-complementary
#2E548E #8E382E #848E2E
monochromatic
#101D32 #1F3960 #2E548E #3D6FBC #6891CE

Accessibility & contrast

On white

7.57
#2E548E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E548E
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E548E#FFFFFF#000000##FFFFFF
##2E548E1.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5990
Deuteranopia (green-blind)
#2C508D
Tritanopia (blue-blind)
#00616A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2e548e;
/* rgb */ color: rgb(46, 84, 142);
/* oklch */ color: oklch(44.8% 0.105 258.6);
Tailwind
colors: {
  custom: {
    50: '#7183af',
    500: '#2e548e',
    950: '#000000',
  },
}
SCSS
$custom: #2e548e;
$custom-light: #7183af;
$custom-dark: #000000;
JSON
{
  "hex": "#2e548e",
  "rgb": {
    "r": 46,
    "g": 84,
    "b": 142
  },
  "hsl": {
    "h": 216.25,
    "s": 51.064,
    "l": 36.863
  },
  "oklch": {
    "l": 0.44783,
    "c": 0.10501,
    "h": 258.6
  },
  "luminance": 0.08874
}

Semantic roles & 50–950 ramp

primary
#2E548E
secondary
#B59463
accent
#A34DDB
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2E548E

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

Preview Lab → · Contrast checker → · Palette generator →

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