#2E55B6#2E55B6

#2E55B6 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 47.9% C 0.160 H 264.5°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#2E55B6
RGBrgb(46, 85, 182)
HSLhsl(223, 60%, 45%)
HSVhsv(223, 75%, 71%)
CMYKcmyk(74.7%, 53.3%, 0%, 28.6%)
CIE-LABlab(38.64, 20.85, -55.41)
CIE-LCHlch(38.64, 59.20, 290.63°)
OKLaboklab(47.85% -0.0152 -0.1595)
OKLCHoklch(47.85% 0.16 264.5)
XYZxyz(12.8157, 10.4538, 45.5893)
Luminance0.1046 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E55B6 #B68F2E
analogous
#2E99B6 #2E55B6 #4B2EB6
triadic
#2E55B6 #B62E55 #55B62E
tetradic
#2E55B6 #B62E99 #B68F2E #2EB64B
square
#2E55B6 #B62E99 #B68F2E #2EB64B
split-complementary
#2E55B6 #B64B2E #99B62E
monochromatic
#152754 #223E85 #2E55B6 #4F75D2 #809BDF

Accessibility & contrast

On white

6.79
#2E55B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#2E55B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E55B6
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E55B6#FFFFFF#000000##FFFFFF
##2E55B61.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D62B9
Deuteranopia (green-blind)
#0055B4
Tritanopia (blue-blind)
#006D7D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2e55b6;
/* rgb */ color: rgb(46, 85, 182);
/* oklch */ color: oklch(47.9% 0.160 264.5);
Tailwind
colors: {
  custom: {
    50: '#7a84cd',
    500: '#2e55b6',
    950: '#000000',
  },
}
SCSS
$custom: #2e55b6;
$custom-light: #7a84cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2e55b6",
  "rgb": {
    "r": 46,
    "g": 85,
    "b": 182
  },
  "hsl": {
    "h": 222.794,
    "s": 59.649,
    "l": 44.706
  },
  "oklch": {
    "l": 0.4785,
    "c": 0.16027,
    "h": 264.5
  },
  "luminance": 0.10455
}

Semantic roles & 50–950 ramp

primary
#2E55B6
secondary
#C8B178
accent
#B645E3
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #2E55B6

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

Preview Lab → · Contrast checker → · Palette generator →

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