#2E549D#2E549D

#2E549D is a mid, vivid blue. Relative luminance 0.094; OKLCH L 45.8% C 0.127 H 262.0°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#2E549D
RGBrgb(46, 84, 157)
HSLhsl(219, 55%, 40%)
HSVhsv(219, 71%, 62%)
CMYKcmyk(70.7%, 46.5%, 0%, 38.4%)
CIE-LABlab(36.66, 12.02, -43.76)
CIE-LCHlch(36.66, 45.38, 285.37°)
OKLaboklab(45.79% -0.0176 -0.1253)
OKLCHoklch(45.79% 0.127 262)
XYZxyz(10.3807, 9.3547, 33.1503)
Luminance0.0936 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E549D #9D772E
analogous
#2E8C9D #2E549D #3F2E9D
triadic
#2E549D #9D2E54 #549D2E
tetradic
#2E549D #9D2E8C #9D772E #2E9D3F
square
#2E549D #9D2E8C #9D772E #2E9D3F
split-complementary
#2E549D #9D3F2E #8C9D2E
monochromatic
#12213E #203B6E #2E549D #416FC7 #7093D5

Accessibility & contrast

On white

7.31
#2E549D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#2E549D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E549D
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E549D#FFFFFF#000000##FFFFFF
##2E549D1.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5CA0
Deuteranopia (green-blind)
#19519C
Tritanopia (blue-blind)
#006571
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2e549d;
/* rgb */ color: rgb(46, 84, 157);
/* oklch */ color: oklch(45.8% 0.127 262.0);
Tailwind
colors: {
  custom: {
    50: '#7483ba',
    500: '#2e549d',
    950: '#000000',
  },
}
SCSS
$custom: #2e549d;
$custom-light: #7483ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2e549d",
  "rgb": {
    "r": 46,
    "g": 84,
    "b": 157
  },
  "hsl": {
    "h": 219.459,
    "s": 54.68,
    "l": 39.804
  },
  "oklch": {
    "l": 0.4579,
    "c": 0.12651,
    "h": 262
  },
  "luminance": 0.09356
}

Semantic roles & 50–950 ramp

primary
#2E549D
secondary
#BDA06A
accent
#AB4ADE
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2E549D

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

Preview Lab → · Contrast checker → · Palette generator →

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