#2E55A4#2E55A4

#2E55A4 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 46.5% C 0.135 H 262.6°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#2E55A4
RGBrgb(46, 85, 164)
HSLhsl(220, 56%, 41%)
HSVhsv(220, 72%, 64%)
CMYKcmyk(72%, 48.2%, 0%, 35.7%)
CIE-LABlab(37.40, 14.02, -46.75)
CIE-LCHlch(37.40, 48.81, 286.69°)
OKLaboklab(46.51% -0.0174 -0.1341)
OKLCHoklch(46.51% 0.135 262.6)
XYZxyz(11.0737, 9.7570, 36.4145)
Luminance0.0976 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E55A4 #A47D2E
analogous
#2E90A4 #2E55A4 #422EA4
triadic
#2E55A4 #A42E55 #55A42E
tetradic
#2E55A4 #A42E90 #A47D2E #2EA442
square
#2E55A4 #A42E90 #A47D2E #2EA442
split-complementary
#2E55A4 #A4422E #90A42E
monochromatic
#132344 #213C74 #2E55A4 #4571CB #7495D8

Accessibility & contrast

On white

7.11
#2E55A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#2E55A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E55A4
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E55A4#FFFFFF#000000##FFFFFF
##2E55A41.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5EA7
Deuteranopia (green-blind)
#0C53A2
Tritanopia (blue-blind)
#006874
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2e55a4;
/* rgb */ color: rgb(46, 85, 164);
/* oklch */ color: oklch(46.5% 0.135 262.6);
Tailwind
colors: {
  custom: {
    50: '#7684bf',
    500: '#2e55a4',
    950: '#000000',
  },
}
SCSS
$custom: #2e55a4;
$custom-light: #7684bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2e55a4",
  "rgb": {
    "r": 46,
    "g": 85,
    "b": 164
  },
  "hsl": {
    "h": 220.169,
    "s": 56.19,
    "l": 41.176
  },
  "oklch": {
    "l": 0.46508,
    "c": 0.1352,
    "h": 262.6
  },
  "luminance": 0.09758
}

Semantic roles & 50–950 ramp

primary
#2E55A4
secondary
#C0A56E
accent
#AE48DF
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #2E55A4

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

Preview Lab → · Contrast checker → · Palette generator →

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