#2E54A4#2E54A4

#2E54A4 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.3% C 0.136 H 263.0°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#2E54A4
RGBrgb(46, 84, 164)
HSLhsl(221, 56%, 41%)
HSVhsv(221, 72%, 64%)
CMYKcmyk(72%, 48.8%, 0%, 35.7%)
CIE-LABlab(37.12, 14.68, -47.21)
CIE-LCHlch(37.12, 49.44, 287.27°)
OKLaboklab(46.29% -0.0165 -0.1354)
OKLCHoklch(46.29% 0.136 263)
XYZxyz(10.9955, 9.6007, 36.3884)
Luminance0.0960 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E54A4 #A47E2E
analogous
#2E8FA4 #2E54A4 #432EA4
triadic
#2E54A4 #A42E54 #54A42E
tetradic
#2E54A4 #A42E8F #A47E2E #2EA443
square
#2E54A4 #A42E8F #A47E2E #2EA443
split-complementary
#2E54A4 #A4432E #8FA42E
monochromatic
#132344 #213C74 #2E54A4 #4570CB #7494D8

Accessibility & contrast

On white

7.19
#2E54A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#2E54A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E54A4
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E54A4#FFFFFF#000000##FFFFFF
##2E54A41.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285DA7
Deuteranopia (green-blind)
#0652A2
Tritanopia (blue-blind)
#006774
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2e54a4;
/* rgb */ color: rgb(46, 84, 164);
/* oklch */ color: oklch(46.3% 0.136 263.0);
Tailwind
colors: {
  custom: {
    50: '#7683bf',
    500: '#2e54a4',
    950: '#000000',
  },
}
SCSS
$custom: #2e54a4;
$custom-light: #7683bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2e54a4",
  "rgb": {
    "r": 46,
    "g": 84,
    "b": 164
  },
  "hsl": {
    "h": 220.678,
    "s": 56.19,
    "l": 41.176
  },
  "oklch": {
    "l": 0.46288,
    "c": 0.13644,
    "h": 263
  },
  "luminance": 0.09602
}

Semantic roles & 50–950 ramp

primary
#2E54A4
secondary
#C0A56E
accent
#AF48DF
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #2E54A4

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

Preview Lab → · Contrast checker → · Palette generator →

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