#2E54C3#2E54C3

#2E54C3 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.7% C 0.179 H 265.7°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#2E54C3
RGBrgb(46, 84, 195)
HSLhsl(225, 62%, 47%)
HSVhsv(225, 76%, 76%)
CMYKcmyk(76.4%, 56.9%, 0%, 23.5%)
CIE-LABlab(39.34, 26.41, -61.88)
CIE-LCHlch(39.34, 67.28, 293.11°)
OKLaboklab(48.68% -0.0136 -0.1786)
OKLCHoklch(48.68% 0.179 265.7)
XYZxyz(14.1439, 10.8600, 52.9699)
Luminance0.1086 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E54C3 #C39D2E
analogous
#2E9FC3 #2E54C3 #532EC3
triadic
#2E54C3 #C32E54 #54C32E
tetradic
#2E54C3 #C32E9F #C39D2E #2EC353
square
#2E54C3 #C32E9F #C39D2E #2EC353
split-complementary
#2E54C3 #C3532E #9FC32E
monochromatic
#172960 #223F91 #2E54C3 #5778D7 #889FE3

Accessibility & contrast

On white

6.62
#2E54C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#2E54C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E54C3
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E54C3#FFFFFF#000000##FFFFFF
##2E54C31.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C7
Deuteranopia (green-blind)
#0056C1
Tritanopia (blue-blind)
#007083
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2e54c3;
/* rgb */ color: rgb(46, 84, 195);
/* oklch */ color: oklch(48.7% 0.179 265.7);
Tailwind
colors: {
  custom: {
    50: '#7d83d6',
    500: '#2e54c3',
    950: '#000000',
  },
}
SCSS
$custom: #2e54c3;
$custom-light: #7d83d6;
$custom-dark: #000000;
JSON
{
  "hex": "#2e54c3",
  "rgb": {
    "r": 46,
    "g": 84,
    "b": 195
  },
  "hsl": {
    "h": 224.698,
    "s": 61.826,
    "l": 47.255
  },
  "oklch": {
    "l": 0.48683,
    "c": 0.17909,
    "h": 265.7
  },
  "luminance": 0.10862
}

Semantic roles & 50–950 ramp

primary
#2E54C3
secondary
#CDB980
accent
#BC43E5
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #2E54C3

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

Preview Lab → · Contrast checker → · Palette generator →

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