#2E55AA#2E55AA

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

Color values

HEX#2E55AA
RGBrgb(46, 85, 170)
HSLhsl(221, 57%, 42%)
HSVhsv(221, 73%, 67%)
CMYKcmyk(72.9%, 50%, 0%, 33.3%)
CIE-LABlab(37.80, 16.30, -49.68)
CIE-LCHlch(37.80, 52.28, 288.17°)
OKLaboklab(46.94% -0.0166 -0.1427)
OKLCHoklch(46.94% 0.144 263.4)
XYZxyz(11.6283, 9.9789, 39.3357)
Luminance0.0998 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E55AA #AA832E
analogous
#2E93AA #2E55AA #452EAA
triadic
#2E55AA #AA2E55 #55AA2E
tetradic
#2E55AA #AA2E93 #AA832E #2EAA45
square
#2E55AA #AA2E93 #AA832E #2EAA45
split-complementary
#2E55AA #AA452E #93AA2E
monochromatic
#14254A #213D7A #2E55AA #4872CD #7897DA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E55AA#FFFFFF#000000##FFFFFF
##2E55AA1.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)
#245FAD
Deuteranopia (green-blind)
#0054A8
Tritanopia (blue-blind)
#006977
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2e55aa;
/* rgb */ color: rgb(46, 85, 170);
/* oklch */ color: oklch(46.9% 0.144 263.4);
Tailwind
colors: {
  custom: {
    50: '#7784c4',
    500: '#2e55aa',
    950: '#000000',
  },
}
SCSS
$custom: #2e55aa;
$custom-light: #7784c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e55aa",
  "rgb": {
    "r": 46,
    "g": 85,
    "b": 170
  },
  "hsl": {
    "h": 221.129,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.46944,
    "c": 0.14363,
    "h": 263.4
  },
  "luminance": 0.0998
}

Semantic roles & 50–950 ramp

primary
#2E55AA
secondary
#C3A971
accent
#B047E1
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2E55AA

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

Preview Lab → · Contrast checker → · Palette generator →

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