#2E548C#2E548C

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

Color values

HEX#2E548C
RGBrgb(46, 84, 140)
HSLhsl(216, 51%, 36%)
HSVhsv(216, 67%, 55%)
CMYKcmyk(67.1%, 40%, 0%, 45.1%)
CIE-LABlab(35.62, 5.62, -35.12)
CIE-LCHlch(35.62, 35.57, 279.10°)
OKLaboklab(44.66% -0.0212 -0.0999)
OKLCHoklch(44.66% 0.102 258)
XYZxyz(9.0290, 8.8141, 26.0313)
Luminance0.0882 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E548C #8C662E
analogous
#2E838C #2E548C #372E8C
triadic
#2E548C #8C2E54 #548C2E
tetradic
#2E548C #8C2E83 #8C662E #2E8C37
square
#2E548C #8C2E83 #8C662E #2E8C37
split-complementary
#2E548C #8C372E #838C2E
monochromatic
#101D30 #1F385E #2E548C #3D70BA #6790CD

Accessibility & contrast

On white

7.60
#2E548C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E548C
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E548C#FFFFFF#000000##FFFFFF
##2E548C1.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e548c;
/* rgb */ color: rgb(46, 84, 140);
/* oklch */ color: oklch(44.7% 0.102 258.0);
Tailwind
colors: {
  custom: {
    50: '#7183ae',
    500: '#2e548c',
    950: '#000000',
  },
}
SCSS
$custom: #2e548c;
$custom-light: #7183ae;
$custom-dark: #000000;
JSON
{
  "hex": "#2e548c",
  "rgb": {
    "r": 46,
    "g": 84,
    "b": 140
  },
  "hsl": {
    "h": 215.745,
    "s": 50.538,
    "l": 36.471
  },
  "oklch": {
    "l": 0.44655,
    "c": 0.10214,
    "h": 258
  },
  "luminance": 0.08815
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E548C

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

Preview Lab → · Contrast checker → · Palette generator →

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