#2E54AA#2E54AA

#2E54AA is a mid, vivid blue. Relative luminance 0.098; OKLCH L 46.7% C 0.145 H 263.8°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#2E54AA
RGBrgb(46, 84, 170)
HSLhsl(222, 57%, 42%)
HSVhsv(222, 73%, 67%)
CMYKcmyk(72.9%, 50.6%, 0%, 33.3%)
CIE-LABlab(37.52, 16.96, -50.13)
CIE-LCHlch(37.52, 52.92, 288.69°)
OKLaboklab(46.73% -0.0157 -0.144)
OKLCHoklch(46.73% 0.145 263.8)
XYZxyz(11.5502, 9.8225, 39.3096)
Luminance0.0982 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E54AA #AA842E
analogous
#2E92AA #2E54AA #462EAA
triadic
#2E54AA #AA2E54 #54AA2E
tetradic
#2E54AA #AA2E92 #AA842E #2EAA46
square
#2E54AA #AA2E92 #AA842E #2EAA46
split-complementary
#2E54AA #AA462E #92AA2E
monochromatic
#14244A #213C7A #2E54AA #4871CD #7896DA

Accessibility & contrast

On white

7.08
#2E54AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#2E54AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E54AA
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E54AA#FFFFFF#000000##FFFFFF
##2E54AA1.007.082.967.08
#FFFFFF7.081.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215EAD
Deuteranopia (green-blind)
#0053A8
Tritanopia (blue-blind)
#006877
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2e54aa;
/* rgb */ color: rgb(46, 84, 170);
/* oklch */ color: oklch(46.7% 0.145 263.8);
Tailwind
colors: {
  custom: {
    50: '#7783c4',
    500: '#2e54aa',
    950: '#000000',
  },
}
SCSS
$custom: #2e54aa;
$custom-light: #7783c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e54aa",
  "rgb": {
    "r": 46,
    "g": 84,
    "b": 170
  },
  "hsl": {
    "h": 221.613,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.46728,
    "c": 0.14488,
    "h": 263.8
  },
  "luminance": 0.09824
}

Semantic roles & 50–950 ramp

primary
#2E54AA
secondary
#C3AA71
accent
#B247E1
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2E54AA

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

Preview Lab → · Contrast checker → · Palette generator →

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