#2E55A0#2E55A0

#2E55A0 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.2% C 0.130 H 262.0°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#2E55A0
RGBrgb(46, 85, 160)
HSLhsl(219, 55%, 40%)
HSVhsv(219, 71%, 63%)
CMYKcmyk(71.2%, 46.9%, 0%, 37.3%)
CIE-LABlab(37.14, 12.50, -44.78)
CIE-LCHlch(37.14, 46.49, 285.60°)
OKLaboklab(46.22% -0.0181 -0.1283)
OKLCHoklch(46.22% 0.13 262)
XYZxyz(10.7181, 9.6148, 34.5419)
Luminance0.0962 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E55A0 #A0792E
analogous
#2E8EA0 #2E55A0 #402EA0
triadic
#2E55A0 #A02E55 #55A02E
tetradic
#2E55A0 #A02E8E #A0792E #2EA040
square
#2E55A0 #A02E8E #A0792E #2EA040
split-complementary
#2E55A0 #A0402E #8EA02E
monochromatic
#132241 #203C70 #2E55A0 #4270C9 #7294D6

Accessibility & contrast

On white

7.18
#2E55A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#2E55A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E55A0
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E55A0#FFFFFF#000000##FFFFFF
##2E55A01.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5DA3
Deuteranopia (green-blind)
#16529E
Tritanopia (blue-blind)
#006772
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2e55a0;
/* rgb */ color: rgb(46, 85, 160);
/* oklch */ color: oklch(46.2% 0.130 262.0);
Tailwind
colors: {
  custom: {
    50: '#7584bc',
    500: '#2e55a0',
    950: '#000000',
  },
}
SCSS
$custom: #2e55a0;
$custom-light: #7584bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2e55a0",
  "rgb": {
    "r": 46,
    "g": 85,
    "b": 160
  },
  "hsl": {
    "h": 219.474,
    "s": 55.34,
    "l": 40.392
  },
  "oklch": {
    "l": 0.46224,
    "c": 0.12954,
    "h": 262
  },
  "luminance": 0.09616
}

Semantic roles & 50–950 ramp

primary
#2E55A0
secondary
#BEA26C
accent
#AC49DF
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2E55A0

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

Preview Lab → · Contrast checker → · Palette generator →

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