#2E54C1#2E54C1

#2E54C1 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.5% C 0.176 H 265.6°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#2E54C1
RGBrgb(46, 84, 193)
HSLhsl(224, 62%, 47%)
HSVhsv(224, 76%, 76%)
CMYKcmyk(76.2%, 56.5%, 0%, 24.3%)
CIE-LABlab(39.19, 25.66, -60.96)
CIE-LCHlch(39.19, 66.14, 292.83°)
OKLaboklab(48.52% -0.0137 -0.1759)
OKLCHoklch(48.52% 0.176 265.6)
XYZxyz(13.9193, 10.7702, 51.7870)
Luminance0.1077 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E54C1 #C19B2E
analogous
#2E9EC1 #2E54C1 #522EC1
triadic
#2E54C1 #C12E54 #54C12E
tetradic
#2E54C1 #C12E9E #C19B2E #2EC152
square
#2E54C1 #C12E9E #C19B2E #2EC152
split-complementary
#2E54C1 #C1522E #9EC12E
monochromatic
#16295E #223E90 #2E54C1 #5677D7 #879FE2

Accessibility & contrast

On white

6.66
#2E54C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#2E54C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E54C1
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E54C1#FFFFFF#000000##FFFFFF
##2E54C11.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C5
Deuteranopia (green-blind)
#0056BF
Tritanopia (blue-blind)
#006F82
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2e54c1;
/* rgb */ color: rgb(46, 84, 193);
/* oklch */ color: oklch(48.5% 0.176 265.6);
Tailwind
colors: {
  custom: {
    50: '#7c83d5',
    500: '#2e54c1',
    950: '#000000',
  },
}
SCSS
$custom: #2e54c1;
$custom-light: #7c83d5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e54c1",
  "rgb": {
    "r": 46,
    "g": 84,
    "b": 193
  },
  "hsl": {
    "h": 224.49,
    "s": 61.506,
    "l": 46.863
  },
  "oklch": {
    "l": 0.4852,
    "c": 0.17642,
    "h": 265.6
  },
  "luminance": 0.10772
}

Semantic roles & 50–950 ramp

primary
#2E54C1
secondary
#CCB87F
accent
#BB43E5
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #2E54C1

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

Preview Lab → · Contrast checker → · Palette generator →

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