#2E54C0#2E54C0

#2E54C0 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.4% C 0.175 H 265.5°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#2E54C0
RGBrgb(46, 84, 192)
HSLhsl(224, 61%, 47%)
HSVhsv(224, 76%, 75%)
CMYKcmyk(76%, 56.3%, 0%, 24.7%)
CIE-LABlab(39.11, 25.28, -60.50)
CIE-LCHlch(39.11, 65.57, 292.68°)
OKLaboklab(48.44% -0.0137 -0.1745)
OKLCHoklch(48.44% 0.175 265.5)
XYZxyz(13.8081, 10.7257, 51.2015)
Luminance0.1073 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E54C0 #C09A2E
analogous
#2E9DC0 #2E54C0 #512EC0
triadic
#2E54C0 #C02E54 #54C02E
tetradic
#2E54C0 #C02E9D #C09A2E #2EC051
square
#2E54C0 #C02E9D #C09A2E #2EC051
split-complementary
#2E54C0 #C0512E #9DC02E
monochromatic
#16295D #223E8F #2E54C0 #5577D6 #869EE2

Accessibility & contrast

On white

6.68
#2E54C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2E54C0
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E54C0#FFFFFF#000000##FFFFFF
##2E54C01.006.683.156.68
#FFFFFF6.681.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e54c0;
/* rgb */ color: rgb(46, 84, 192);
/* oklch */ color: oklch(48.4% 0.175 265.5);
Tailwind
colors: {
  custom: {
    50: '#7c83d4',
    500: '#2e54c0',
    950: '#000000',
  },
}
SCSS
$custom: #2e54c0;
$custom-light: #7c83d4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e54c0",
  "rgb": {
    "r": 46,
    "g": 84,
    "b": 192
  },
  "hsl": {
    "h": 224.384,
    "s": 61.345,
    "l": 46.667
  },
  "oklch": {
    "l": 0.48438,
    "c": 0.17507,
    "h": 265.5
  },
  "luminance": 0.10727
}

Semantic roles & 50–950 ramp

primary
#2E54C0
secondary
#CCB77E
accent
#BB43E4
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #2E54C0

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

Preview Lab → · Contrast checker → · Palette generator →

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