#2E549C#2E549C

#2E549C is a mid, vivid blue. Relative luminance 0.093; OKLCH L 45.7% C 0.125 H 261.8°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#2E549C
RGBrgb(46, 84, 156)
HSLhsl(219, 54%, 40%)
HSVhsv(219, 71%, 61%)
CMYKcmyk(70.5%, 46.2%, 0%, 38.8%)
CIE-LABlab(36.59, 11.65, -43.26)
CIE-LCHlch(36.59, 44.80, 285.07°)
OKLaboklab(45.72% -0.0178 -0.1238)
OKLCHoklch(45.72% 0.125 261.8)
XYZxyz(10.2957, 9.3207, 32.7025)
Luminance0.0932 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E549C #9C762E
analogous
#2E8B9C #2E549C #3F2E9C
triadic
#2E549C #9C2E54 #549C2E
tetradic
#2E549C #9C2E8B #9C762E #2E9C3F
square
#2E549C #9C2E8B #9C762E #2E9C3F
split-complementary
#2E549C #9C3F2E #8B9C2E
monochromatic
#12213D #203B6D #2E549C #406FC7 #7093D5

Accessibility & contrast

On white

7.33
#2E549C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#2E549C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E549C
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E549C#FFFFFF#000000##FFFFFF
##2E549C1.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305C9F
Deuteranopia (green-blind)
#1A519B
Tritanopia (blue-blind)
#006570
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2e549c;
/* rgb */ color: rgb(46, 84, 156);
/* oklch */ color: oklch(45.7% 0.125 261.8);
Tailwind
colors: {
  custom: {
    50: '#7483ba',
    500: '#2e549c',
    950: '#000000',
  },
}
SCSS
$custom: #2e549c;
$custom-light: #7483ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2e549c",
  "rgb": {
    "r": 46,
    "g": 84,
    "b": 156
  },
  "hsl": {
    "h": 219.273,
    "s": 54.455,
    "l": 39.608
  },
  "oklch": {
    "l": 0.4572,
    "c": 0.12509,
    "h": 261.8
  },
  "luminance": 0.09322
}

Semantic roles & 50–950 ramp

primary
#2E549C
secondary
#BCA06A
accent
#AB4ADE
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2E549C

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

Preview Lab → · Contrast checker → · Palette generator →

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