#2E55B7#2E55B7

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

Color values

HEX#2E55B7
RGBrgb(46, 85, 183)
HSLhsl(223, 60%, 45%)
HSVhsv(223, 75%, 72%)
CMYKcmyk(74.9%, 53.6%, 0%, 28.2%)
CIE-LABlab(38.72, 21.23, -55.88)
CIE-LCHlch(38.72, 59.78, 290.81°)
OKLaboklab(47.93% -0.0151 -0.1609)
OKLCHoklch(47.93% 0.162 264.6)
XYZxyz(12.9194, 10.4953, 46.1355)
Luminance0.1050 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E55B7 #B7902E
analogous
#2E99B7 #2E55B7 #4C2EB7
triadic
#2E55B7 #B72E55 #55B72E
tetradic
#2E55B7 #B72E99 #B7902E #2EB74C
square
#2E55B7 #B72E99 #B7902E #2EB74C
split-complementary
#2E55B7 #B74C2E #99B72E
monochromatic
#152855 #223E86 #2E55B7 #4F75D3 #809BDF

Accessibility & contrast

On white

6.78
#2E55B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#2E55B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E55B7
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E55B7#FFFFFF#000000##FFFFFF
##2E55B71.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0962BA
Deuteranopia (green-blind)
#0055B5
Tritanopia (blue-blind)
#006D7D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2e55b7;
/* rgb */ color: rgb(46, 85, 183);
/* oklch */ color: oklch(47.9% 0.162 264.6);
Tailwind
colors: {
  custom: {
    50: '#7a84cd',
    500: '#2e55b7',
    950: '#000000',
  },
}
SCSS
$custom: #2e55b7;
$custom-light: #7a84cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2e55b7",
  "rgb": {
    "r": 46,
    "g": 85,
    "b": 183
  },
  "hsl": {
    "h": 222.92,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.47928,
    "c": 0.16163,
    "h": 264.6
  },
  "luminance": 0.10497
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E55B7

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

Preview Lab → · Contrast checker → · Palette generator →

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