#2E54B1#2E54B1

#2E54B1 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.3% C 0.155 H 264.5°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#2E54B1
RGBrgb(46, 84, 177)
HSLhsl(223, 59%, 44%)
HSVhsv(223, 74%, 69%)
CMYKcmyk(74%, 52.5%, 0%, 30.6%)
CIE-LABlab(38.01, 19.62, -53.49)
CIE-LCHlch(38.01, 56.97, 290.14°)
OKLaboklab(47.26% -0.0149 -0.1539)
OKLCHoklch(47.26% 0.155 264.5)
XYZxyz(12.2300, 10.0945, 42.8903)
Luminance0.1010 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E54B1 #B18B2E
analogous
#2E95B1 #2E54B1 #492EB1
triadic
#2E54B1 #B12E54 #54B12E
tetradic
#2E54B1 #B12E95 #B18B2E #2EB149
square
#2E54B1 #B12E95 #B18B2E #2EB149
split-complementary
#2E54B1 #B1492E #95B12E
monochromatic
#152650 #213D80 #2E54B1 #4C72D0 #7C98DD

Accessibility & contrast

On white

6.96
#2E54B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#2E54B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E54B1
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E54B1#FFFFFF#000000##FFFFFF
##2E54B11.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1560B4
Deuteranopia (green-blind)
#0054AF
Tritanopia (blue-blind)
#006A7A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2e54b1;
/* rgb */ color: rgb(46, 84, 177);
/* oklch */ color: oklch(47.3% 0.155 264.5);
Tailwind
colors: {
  custom: {
    50: '#7983c9',
    500: '#2e54b1',
    950: '#000000',
  },
}
SCSS
$custom: #2e54b1;
$custom-light: #7983c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e54b1",
  "rgb": {
    "r": 46,
    "g": 84,
    "b": 177
  },
  "hsl": {
    "h": 222.595,
    "s": 58.744,
    "l": 43.725
  },
  "oklch": {
    "l": 0.47256,
    "c": 0.15462,
    "h": 264.5
  },
  "luminance": 0.10096
}

Semantic roles & 50–950 ramp

primary
#2E54B1
secondary
#C6AE75
accent
#B546E2
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2E54B1

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

Preview Lab → · Contrast checker → · Palette generator →

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