#2E54D3#2E54D3

#2E54D3 is a mid, highly saturated blue. Relative luminance 0.116; OKLCH L 50.0% C 0.200 H 266.2°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#2E54D3
RGBrgb(46, 84, 211)
HSLhsl(226, 65%, 50%)
HSVhsv(226, 78%, 83%)
CMYKcmyk(78.2%, 60.2%, 0%, 17.3%)
CIE-LABlab(40.61, 32.36, -69.06)
CIE-LCHlch(40.61, 76.27, 295.11°)
OKLaboklab(50.03% -0.0131 -0.1997)
OKLCHoklch(50.03% 0.2 266.2)
XYZxyz(16.0508, 11.6228, 63.0129)
Luminance0.1163 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E54D3 #D3AD2E
analogous
#2EA6D3 #2E54D3 #5B2ED3
triadic
#2E54D3 #D32E54 #54D32E
tetradic
#2E54D3 #D32EA6 #D3AD2E #2ED35B
square
#2E54D3 #D32EA6 #D3AD2E #2ED35B
split-complementary
#2E54D3 #D35B2E #A6D32E
monochromatic
#172C6F #223FA2 #2E54D3 #617DDE #93A7E8

Accessibility & contrast

On white

6.32
#2E54D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#2E54D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E54D3
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E54D3#FFFFFF#000000##FFFFFF
##2E54D31.006.323.336.32
#FFFFFF6.321.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D7
Deuteranopia (green-blind)
#0058D1
Tritanopia (blue-blind)
#00758B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2e54d3;
/* rgb */ color: rgb(46, 84, 211);
/* oklch */ color: oklch(50.0% 0.200 266.2);
Tailwind
colors: {
  custom: {
    50: '#8183e1',
    500: '#2e54d3',
    950: '#000000',
  },
}
SCSS
$custom: #2e54d3;
$custom-light: #8183e1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e54d3",
  "rgb": {
    "r": 46,
    "g": 84,
    "b": 211
  },
  "hsl": {
    "h": 226.182,
    "s": 65.217,
    "l": 50.392
  },
  "oklch": {
    "l": 0.50025,
    "c": 0.20011,
    "h": 266.2
  },
  "luminance": 0.11625
}

Semantic roles & 50–950 ramp

primary
#2E54D3
secondary
#D3C28A
accent
#C140E8
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #2E54D3

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

Preview Lab → · Contrast checker → · Palette generator →

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