#2E55A8#2E55A8

#2E55A8 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 46.8% C 0.141 H 263.1°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#2E55A8
RGBrgb(46, 85, 168)
HSLhsl(221, 57%, 42%)
HSVhsv(221, 73%, 66%)
CMYKcmyk(72.6%, 49.4%, 0%, 34.1%)
CIE-LABlab(37.67, 15.54, -48.71)
CIE-LCHlch(37.67, 51.12, 287.70°)
OKLaboklab(46.8% -0.0168 -0.1398)
OKLCHoklch(46.8% 0.141 263.1)
XYZxyz(11.4406, 9.9038, 38.3469)
Luminance0.0990 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E55A8 #A8812E
analogous
#2E92A8 #2E55A8 #442EA8
triadic
#2E55A8 #A82E55 #55A82E
tetradic
#2E55A8 #A82E92 #A8812E #2EA844
square
#2E55A8 #A82E92 #A8812E #2EA844
split-complementary
#2E55A8 #A8442E #92A82E
monochromatic
#142448 #213D78 #2E55A8 #4771CD #7796DA

Accessibility & contrast

On white

7.04
#2E55A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E55A8
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E55A8#FFFFFF#000000##FFFFFF
##2E55A81.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265FAB
Deuteranopia (green-blind)
#0053A6
Tritanopia (blue-blind)
#006976
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2e55a8;
/* rgb */ color: rgb(46, 85, 168);
/* oklch */ color: oklch(46.8% 0.141 263.1);
Tailwind
colors: {
  custom: {
    50: '#7784c2',
    500: '#2e55a8',
    950: '#000000',
  },
}
SCSS
$custom: #2e55a8;
$custom-light: #7784c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2e55a8",
  "rgb": {
    "r": 46,
    "g": 85,
    "b": 168
  },
  "hsl": {
    "h": 220.82,
    "s": 57.009,
    "l": 41.961
  },
  "oklch": {
    "l": 0.46797,
    "c": 0.14083,
    "h": 263.1
  },
  "luminance": 0.09905
}

Semantic roles & 50–950 ramp

primary
#2E55A8
secondary
#C2A870
accent
#AF48E0
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #2E55A8

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

Preview Lab → · Contrast checker → · Palette generator →

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