#2E54C2#2E54C2

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

Color values

HEX#2E54C2
RGBrgb(46, 84, 194)
HSLhsl(225, 62%, 47%)
HSVhsv(225, 76%, 76%)
CMYKcmyk(76.3%, 56.7%, 0%, 23.9%)
CIE-LABlab(39.27, 26.03, -61.42)
CIE-LCHlch(39.27, 66.71, 292.97°)
OKLaboklab(48.6% -0.0136 -0.1772)
OKLCHoklch(48.6% 0.178 265.6)
XYZxyz(14.0312, 10.8150, 52.3765)
Luminance0.1082 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E54C2 #C29C2E
analogous
#2E9EC2 #2E54C2 #522EC2
triadic
#2E54C2 #C22E54 #54C22E
tetradic
#2E54C2 #C22E9E #C29C2E #2EC252
square
#2E54C2 #C22E9E #C29C2E #2EC252
split-complementary
#2E54C2 #C2522E #9EC22E
monochromatic
#17295F #223F91 #2E54C2 #5677D7 #889FE3

Accessibility & contrast

On white

6.64
#2E54C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#2E54C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E54C2
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E54C2#FFFFFF#000000##FFFFFF
##2E54C21.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C6
Deuteranopia (green-blind)
#0056C0
Tritanopia (blue-blind)
#006F83
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2e54c2;
/* rgb */ color: rgb(46, 84, 194);
/* oklch */ color: oklch(48.6% 0.178 265.6);
Tailwind
colors: {
  custom: {
    50: '#7d83d5',
    500: '#2e54c2',
    950: '#000000',
  },
}
SCSS
$custom: #2e54c2;
$custom-light: #7d83d5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e54c2",
  "rgb": {
    "r": 46,
    "g": 84,
    "b": 194
  },
  "hsl": {
    "h": 224.595,
    "s": 61.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.48601,
    "c": 0.17775,
    "h": 265.6
  },
  "luminance": 0.10817
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E54C2

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

Preview Lab → · Contrast checker → · Palette generator →

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