#2E55AC#2E55AC

#2E55AC is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.1% C 0.146 H 263.6°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#2E55AC
RGBrgb(46, 85, 172)
HSLhsl(221, 58%, 43%)
HSVhsv(221, 73%, 67%)
CMYKcmyk(73.3%, 50.6%, 0%, 32.5%)
CIE-LABlab(37.94, 17.06, -50.64)
CIE-LCHlch(37.94, 53.44, 288.62°)
OKLaboklab(47.09% -0.0163 -0.1455)
OKLCHoklch(47.09% 0.146 263.6)
XYZxyz(11.8190, 10.0551, 40.3397)
Luminance0.1006 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E55AC #AC852E
analogous
#2E94AC #2E55AC #462EAC
triadic
#2E55AC #AC2E55 #55AC2E
tetradic
#2E55AC #AC2E94 #AC852E #2EAC46
square
#2E55AC #AC2E94 #AC852E #2EAC46
split-complementary
#2E55AC #AC462E #94AC2E
monochromatic
#14254B #213D7C #2E55AC #4972CE #7998DB

Accessibility & contrast

On white

6.97
#2E55AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#2E55AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E55AC
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E55AC#FFFFFF#000000##FFFFFF
##2E55AC1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215FAF
Deuteranopia (green-blind)
#0054AA
Tritanopia (blue-blind)
#006A78
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2e55ac;
/* rgb */ color: rgb(46, 85, 172);
/* oklch */ color: oklch(47.1% 0.146 263.6);
Tailwind
colors: {
  custom: {
    50: '#7884c5',
    500: '#2e55ac',
    950: '#000000',
  },
}
SCSS
$custom: #2e55ac;
$custom-light: #7884c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e55ac",
  "rgb": {
    "r": 46,
    "g": 85,
    "b": 172
  },
  "hsl": {
    "h": 221.429,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.47091,
    "c": 0.14643,
    "h": 263.6
  },
  "luminance": 0.10056
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E55AC

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

Preview Lab → · Contrast checker → · Palette generator →

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