#2E549F#2E549F

#2E549F is a mid, vivid blue. Relative luminance 0.094; OKLCH L 45.9% C 0.129 H 262.3°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#2E549F
RGBrgb(46, 84, 159)
HSLhsl(220, 55%, 40%)
HSVhsv(220, 71%, 62%)
CMYKcmyk(71.1%, 47.2%, 0%, 37.6%)
CIE-LABlab(36.79, 12.78, -44.75)
CIE-LCHlch(36.79, 46.54, 285.94°)
OKLaboklab(45.93% -0.0173 -0.1282)
OKLCHoklch(45.93% 0.129 262.3)
XYZxyz(10.5528, 9.4236, 34.0570)
Luminance0.0943 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E549F #9F792E
analogous
#2E8C9F #2E549F #402E9F
triadic
#2E549F #9F2E54 #549F2E
tetradic
#2E549F #9F2E8C #9F792E #2E9F40
square
#2E549F #9F2E8C #9F792E #2E9F40
split-complementary
#2E549F #9F402E #8C9F2E
monochromatic
#132240 #203B70 #2E549F #426FC8 #7193D6

Accessibility & contrast

On white

7.28
#2E549F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#2E549F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E549F
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E549F#FFFFFF#000000##FFFFFF
##2E549F1.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5CA2
Deuteranopia (green-blind)
#15529D
Tritanopia (blue-blind)
#006672
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2e549f;
/* rgb */ color: rgb(46, 84, 159);
/* oklch */ color: oklch(45.9% 0.129 262.3);
Tailwind
colors: {
  custom: {
    50: '#7583bc',
    500: '#2e549f',
    950: '#000000',
  },
}
SCSS
$custom: #2e549f;
$custom-light: #7583bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2e549f",
  "rgb": {
    "r": 46,
    "g": 84,
    "b": 159
  },
  "hsl": {
    "h": 219.823,
    "s": 55.122,
    "l": 40.196
  },
  "oklch": {
    "l": 0.45931,
    "c": 0.12936,
    "h": 262.3
  },
  "luminance": 0.09425
}

Semantic roles & 50–950 ramp

primary
#2E549F
secondary
#BEA26B
accent
#AC49DE
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2E549F

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

Preview Lab → · Contrast checker → · Palette generator →

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