#2E54AC#2E54AC

#2E54AC is a mid, vivid blue. Relative luminance 0.099; OKLCH L 46.9% C 0.148 H 264.0°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#2E54AC
RGBrgb(46, 84, 172)
HSLhsl(222, 58%, 43%)
HSVhsv(222, 73%, 67%)
CMYKcmyk(73.3%, 51.2%, 0%, 32.5%)
CIE-LABlab(37.66, 17.72, -51.10)
CIE-LCHlch(37.66, 54.08, 289.13°)
OKLaboklab(46.88% -0.0155 -0.1469)
OKLCHoklch(46.88% 0.148 264)
XYZxyz(11.7408, 9.8988, 40.3136)
Luminance0.0990 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E54AC #AC862E
analogous
#2E93AC #2E54AC #472EAC
triadic
#2E54AC #AC2E54 #54AC2E
tetradic
#2E54AC #AC2E93 #AC862E #2EAC47
square
#2E54AC #AC2E93 #AC862E #2EAC47
split-complementary
#2E54AC #AC472E #93AC2E
monochromatic
#14254B #213C7C #2E54AC #4971CE #7997DB

Accessibility & contrast

On white

7.05
#2E54AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#2E54AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E54AC
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E54AC#FFFFFF#000000##FFFFFF
##2E54AC1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E5FAF
Deuteranopia (green-blind)
#0053AA
Tritanopia (blue-blind)
#006978
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2e54ac;
/* rgb */ color: rgb(46, 84, 172);
/* oklch */ color: oklch(46.9% 0.148 264.0);
Tailwind
colors: {
  custom: {
    50: '#7883c5',
    500: '#2e54ac',
    950: '#000000',
  },
}
SCSS
$custom: #2e54ac;
$custom-light: #7883c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e54ac",
  "rgb": {
    "r": 46,
    "g": 84,
    "b": 172
  },
  "hsl": {
    "h": 221.905,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.46877,
    "c": 0.14768,
    "h": 264
  },
  "luminance": 0.099
}

Semantic roles & 50–950 ramp

primary
#2E54AC
secondary
#C3AB72
accent
#B347E1
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2E54AC

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

Preview Lab → · Contrast checker → · Palette generator →

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