#2E54AE#2E54AE

#2E54AE is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.0% C 0.150 H 264.2°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#2E54AE
RGBrgb(46, 84, 174)
HSLhsl(222, 58%, 43%)
HSVhsv(222, 74%, 68%)
CMYKcmyk(73.6%, 51.7%, 0%, 31.8%)
CIE-LABlab(37.80, 18.48, -52.06)
CIE-LCHlch(37.80, 55.24, 289.54°)
OKLaboklab(47.03% -0.0152 -0.1497)
OKLCHoklch(47.03% 0.15 264.2)
XYZxyz(11.9343, 9.9762, 41.3328)
Luminance0.0998 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E54AE #AE882E
analogous
#2E94AE #2E54AE #482EAE
triadic
#2E54AE #AE2E54 #54AE2E
tetradic
#2E54AE #AE2E94 #AE882E #2EAE48
square
#2E54AE #AE2E94 #AE882E #2EAE48
split-complementary
#2E54AE #AE482E #94AE2E
monochromatic
#14254D #213D7E #2E54AE #4A72CF #7A97DC

Accessibility & contrast

On white

7.01
#2E54AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#2E54AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E54AE
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E54AE#FFFFFF#000000##FFFFFF
##2E54AE1.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B5FB1
Deuteranopia (green-blind)
#0053AC
Tritanopia (blue-blind)
#006A79
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2e54ae;
/* rgb */ color: rgb(46, 84, 174);
/* oklch */ color: oklch(47.0% 0.150 264.2);
Tailwind
colors: {
  custom: {
    50: '#7883c7',
    500: '#2e54ae',
    950: '#000000',
  },
}
SCSS
$custom: #2e54ae;
$custom-light: #7883c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e54ae",
  "rgb": {
    "r": 46,
    "g": 84,
    "b": 174
  },
  "hsl": {
    "h": 222.188,
    "s": 58.182,
    "l": 43.137
  },
  "oklch": {
    "l": 0.47028,
    "c": 0.15046,
    "h": 264.2
  },
  "luminance": 0.09977
}

Semantic roles & 50–950 ramp

primary
#2E54AE
secondary
#C4AC74
accent
#B346E1
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2E54AE

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

Preview Lab → · Contrast checker → · Palette generator →

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