#2E55A6#2E55A6

#2E55A6 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 46.7% C 0.138 H 262.9°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#2E55A6
RGBrgb(46, 85, 166)
HSLhsl(221, 57%, 42%)
HSVhsv(221, 72%, 65%)
CMYKcmyk(72.3%, 48.8%, 0%, 34.9%)
CIE-LABlab(37.54, 14.78, -47.73)
CIE-LCHlch(37.54, 49.97, 287.21°)
OKLaboklab(46.65% -0.0171 -0.1369)
OKLCHoklch(46.65% 0.138 262.9)
XYZxyz(11.2557, 9.8298, 37.3731)
Luminance0.0983 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E55A6 #A67F2E
analogous
#2E91A6 #2E55A6 #432EA6
triadic
#2E55A6 #A62E55 #55A62E
tetradic
#2E55A6 #A62E91 #A67F2E #2EA643
square
#2E55A6 #A62E91 #A67F2E #2EA643
split-complementary
#2E55A6 #A6432E #91A62E
monochromatic
#132446 #213C76 #2E55A6 #4671CC #7696D9

Accessibility & contrast

On white

7.08
#2E55A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#2E55A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E55A6
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E55A6#FFFFFF#000000##FFFFFF
##2E55A61.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285EA9
Deuteranopia (green-blind)
#0453A4
Tritanopia (blue-blind)
#006875
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2e55a6;
/* rgb */ color: rgb(46, 85, 166);
/* oklch */ color: oklch(46.7% 0.138 262.9);
Tailwind
colors: {
  custom: {
    50: '#7684c1',
    500: '#2e55a6',
    950: '#000000',
  },
}
SCSS
$custom: #2e55a6;
$custom-light: #7684c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e55a6",
  "rgb": {
    "r": 46,
    "g": 85,
    "b": 166
  },
  "hsl": {
    "h": 220.5,
    "s": 56.604,
    "l": 41.569
  },
  "oklch": {
    "l": 0.46652,
    "c": 0.13802,
    "h": 262.9
  },
  "luminance": 0.09831
}

Semantic roles & 50–950 ramp

primary
#2E55A6
secondary
#C1A66F
accent
#AE48E0
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #2E55A6

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

Preview Lab → · Contrast checker → · Palette generator →

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