#2E55AB#2E55AB

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

Color values

HEX#2E55AB
RGBrgb(46, 85, 171)
HSLhsl(221, 58%, 43%)
HSVhsv(221, 73%, 67%)
CMYKcmyk(73.1%, 50.3%, 0%, 32.9%)
CIE-LABlab(37.87, 16.68, -50.16)
CIE-LCHlch(37.87, 52.86, 288.39°)
OKLaboklab(47.02% -0.0164 -0.1441)
OKLCHoklch(47.02% 0.145 263.5)
XYZxyz(11.7233, 10.0169, 39.8358)
Luminance0.1002 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E55AB #AB842E
analogous
#2E94AB #2E55AB #452EAB
triadic
#2E55AB #AB2E55 #55AB2E
tetradic
#2E55AB #AB2E94 #AB842E #2EAB45
square
#2E55AB #AB2E94 #AB842E #2EAB45
split-complementary
#2E55AB #AB452E #94AB2E
monochromatic
#14254B #213D7B #2E55AB #4872CE #7997DB

Accessibility & contrast

On white

6.99
#2E55AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2E55AB
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E55AB#FFFFFF#000000##FFFFFF
##2E55AB1.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225FAE
Deuteranopia (green-blind)
#0054A9
Tritanopia (blue-blind)
#006978
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2e55ab;
/* rgb */ color: rgb(46, 85, 171);
/* oklch */ color: oklch(47.0% 0.145 263.5);
Tailwind
colors: {
  custom: {
    50: '#7784c5',
    500: '#2e55ab',
    950: '#000000',
  },
}
SCSS
$custom: #2e55ab;
$custom-light: #7784c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e55ab",
  "rgb": {
    "r": 46,
    "g": 85,
    "b": 171
  },
  "hsl": {
    "h": 221.28,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.47017,
    "c": 0.14504,
    "h": 263.5
  },
  "luminance": 0.10018
}

Semantic roles & 50–950 ramp

primary
#2E55AB
secondary
#C3AA72
accent
#B147E1
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2E55AB

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

Preview Lab → · Contrast checker → · Palette generator →

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