#2E548F#2E548F

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

Color values

HEX#2E548F
RGBrgb(46, 84, 143)
HSLhsl(216, 51%, 37%)
HSVhsv(216, 68%, 56%)
CMYKcmyk(67.8%, 41.3%, 0%, 43.9%)
CIE-LABlab(35.80, 6.75, -36.67)
CIE-LCHlch(35.80, 37.29, 280.42°)
OKLaboklab(44.85% -0.0205 -0.1045)
OKLCHoklch(44.85% 0.106 258.9)
XYZxyz(9.2532, 8.9037, 27.2122)
Luminance0.0891 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E548F #8F692E
analogous
#2E858F #2E548F #392E8F
triadic
#2E548F #8F2E54 #548F2E
tetradic
#2E548F #8F2E85 #8F692E #2E8F39
square
#2E548F #8F2E85 #8F692E #2E8F39
split-complementary
#2E548F #8F392E #858F2E
monochromatic
#101E32 #1F3961 #2E548F #3D6FBD #6991CF

Accessibility & contrast

On white

7.55
#2E548F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#2E548F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E548F
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E548F#FFFFFF#000000##FFFFFF
##2E548F1.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395991
Deuteranopia (green-blind)
#2B508E
Tritanopia (blue-blind)
#00626A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2e548f;
/* rgb */ color: rgb(46, 84, 143);
/* oklch */ color: oklch(44.8% 0.106 258.9);
Tailwind
colors: {
  custom: {
    50: '#7283b0',
    500: '#2e548f',
    950: '#000000',
  },
}
SCSS
$custom: #2e548f;
$custom-light: #7283b0;
$custom-dark: #000000;
JSON
{
  "hex": "#2e548f",
  "rgb": {
    "r": 46,
    "g": 84,
    "b": 143
  },
  "hsl": {
    "h": 216.495,
    "s": 51.323,
    "l": 37.059
  },
  "oklch": {
    "l": 0.44848,
    "c": 0.10644,
    "h": 258.9
  },
  "luminance": 0.08905
}

Semantic roles & 50–950 ramp

primary
#2E548F
secondary
#B69563
accent
#A34DDB
background
#F7F8FA
surface
#EDEFF5
border
#C8CACF
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2E548F

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

Preview Lab → · Contrast checker → · Palette generator →

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