#2E54B4#2E54B4

#2E54B4 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.5% C 0.159 H 264.7°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#2E54B4
RGBrgb(46, 84, 180)
HSLhsl(223, 59%, 44%)
HSVhsv(223, 74%, 71%)
CMYKcmyk(74.4%, 53.3%, 0%, 29.4%)
CIE-LABlab(38.23, 20.75, -54.91)
CIE-LCHlch(38.23, 58.70, 290.71°)
OKLaboklab(47.49% -0.0146 -0.1581)
OKLCHoklch(47.49% 0.159 264.7)
XYZxyz(12.5323, 10.2154, 44.4825)
Luminance0.1022 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E54B4 #B48E2E
analogous
#2E97B4 #2E54B4 #4B2EB4
triadic
#2E54B4 #B42E54 #54B42E
tetradic
#2E54B4 #B42E97 #B48E2E #2EB44B
square
#2E54B4 #B42E97 #B48E2E #2EB44B
split-complementary
#2E54B4 #B44B2E #97B42E
monochromatic
#152753 #223D83 #2E54B4 #4E73D2 #7E99DE

Accessibility & contrast

On white

6.90
#2E54B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#2E54B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E54B4
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E54B4#FFFFFF#000000##FFFFFF
##2E54B41.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D60B7
Deuteranopia (green-blind)
#0054B2
Tritanopia (blue-blind)
#006B7C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2e54b4;
/* rgb */ color: rgb(46, 84, 180);
/* oklch */ color: oklch(47.5% 0.159 264.7);
Tailwind
colors: {
  custom: {
    50: '#7983cb',
    500: '#2e54b4',
    950: '#000000',
  },
}
SCSS
$custom: #2e54b4;
$custom-light: #7983cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2e54b4",
  "rgb": {
    "r": 46,
    "g": 84,
    "b": 180
  },
  "hsl": {
    "h": 222.985,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.47487,
    "c": 0.15876,
    "h": 264.7
  },
  "luminance": 0.10217
}

Semantic roles & 50–950 ramp

primary
#2E54B4
secondary
#C7B077
accent
#B645E2
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2E54B4

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

Preview Lab → · Contrast checker → · Palette generator →

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