#2E55B8#2E55B8

#2E55B8 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.0% C 0.163 H 264.7°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#2E55B8
RGBrgb(46, 85, 184)
HSLhsl(223, 60%, 45%)
HSVhsv(223, 75%, 72%)
CMYKcmyk(75%, 53.8%, 0%, 27.8%)
CIE-LABlab(38.79, 21.61, -56.35)
CIE-LCHlch(38.79, 60.35, 290.98°)
OKLaboklab(48.01% -0.015 -0.1623)
OKLCHoklch(48.01% 0.163 264.7)
XYZxyz(13.0239, 10.5371, 46.6856)
Luminance0.1054 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E55B8 #B8912E
analogous
#2E9AB8 #2E55B8 #4C2EB8
triadic
#2E55B8 #B82E55 #55B82E
tetradic
#2E55B8 #B82E9A #B8912E #2EB84C
square
#2E55B8 #B82E9A #B8912E #2EB84C
split-complementary
#2E55B8 #B84C2E #9AB82E
monochromatic
#162856 #223E87 #2E55B8 #5075D3 #819CDF

Accessibility & contrast

On white

6.76
#2E55B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#2E55B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E55B8
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E55B8#FFFFFF#000000##FFFFFF
##2E55B81.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0562BB
Deuteranopia (green-blind)
#0055B6
Tritanopia (blue-blind)
#006D7E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2e55b8;
/* rgb */ color: rgb(46, 85, 184);
/* oklch */ color: oklch(48.0% 0.163 264.7);
Tailwind
colors: {
  custom: {
    50: '#7a84ce',
    500: '#2e55b8',
    950: '#000000',
  },
}
SCSS
$custom: #2e55b8;
$custom-light: #7a84ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2e55b8",
  "rgb": {
    "r": 46,
    "g": 85,
    "b": 184
  },
  "hsl": {
    "h": 223.043,
    "s": 60,
    "l": 45.098
  },
  "oklch": {
    "l": 0.48006,
    "c": 0.163,
    "h": 264.7
  },
  "luminance": 0.10539
}

Semantic roles & 50–950 ramp

primary
#2E55B8
secondary
#C8B279
accent
#B645E3
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #2E55B8

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

Preview Lab → · Contrast checker → · Palette generator →

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