#2E548A#2E548A

#2E548A is a dark, moderate blue. Relative luminance 0.088; OKLCH L 44.5% C 0.099 H 257.4°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#2E548A
RGBrgb(46, 84, 138)
HSLhsl(215, 50%, 36%)
HSVhsv(215, 67%, 54%)
CMYKcmyk(66.7%, 39.1%, 0%, 45.9%)
CIE-LABlab(35.51, 4.88, -34.08)
CIE-LCHlch(35.51, 34.43, 278.15°)
OKLaboklab(44.53% -0.0217 -0.0969)
OKLCHoklch(44.53% 0.099 257.4)
XYZxyz(8.8828, 8.7556, 25.2617)
Luminance0.0876 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E548A #8A642E
analogous
#2E828A #2E548A #362E8A
triadic
#2E548A #8A2E54 #548A2E
tetradic
#2E548A #8A2E82 #8A642E #2E8A36
square
#2E548A #8A2E82 #8A642E #2E8A36
split-complementary
#2E548A #8A362E #828A2E
monochromatic
#0F1C2E #1F385C #2E548A #3D70B8 #6690CC

Accessibility & contrast

On white

7.63
#2E548A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#2E548A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E548A
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E548A#FFFFFF#000000##FFFFFF
##2E548A1.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C588C
Deuteranopia (green-blind)
#2F5089
Tritanopia (blue-blind)
#006068
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2e548a;
/* rgb */ color: rgb(46, 84, 138);
/* oklch */ color: oklch(44.5% 0.099 257.4);
Tailwind
colors: {
  custom: {
    50: '#7183ac',
    500: '#2e548a',
    950: '#000000',
  },
}
SCSS
$custom: #2e548a;
$custom-light: #7183ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2e548a",
  "rgb": {
    "r": 46,
    "g": 84,
    "b": 138
  },
  "hsl": {
    "h": 215.217,
    "s": 50,
    "l": 36.078
  },
  "oklch": {
    "l": 0.44529,
    "c": 0.09927,
    "h": 257.4
  },
  "luminance": 0.08756
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E548A

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

Preview Lab → · Contrast checker → · Palette generator →

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