#2E55D3#2E55D3

#2E55D3 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.2% C 0.199 H 266.1°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#2E55D3
RGBrgb(46, 85, 211)
HSLhsl(226, 65%, 50%)
HSVhsv(226, 78%, 83%)
CMYKcmyk(78.2%, 59.7%, 0%, 17.3%)
CIE-LABlab(40.86, 31.72, -68.65)
CIE-LCHlch(40.86, 75.63, 294.80°)
OKLaboklab(50.21% -0.0137 -0.1984)
OKLCHoklch(50.21% 0.199 266.1)
XYZxyz(16.1290, 11.7791, 63.0389)
Luminance0.1178 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E55D3 #D3AC2E
analogous
#2EA7D3 #2E55D3 #592ED3
triadic
#2E55D3 #D32E55 #55D32E
tetradic
#2E55D3 #D32EA7 #D3AC2E #2ED359
square
#2E55D3 #D32EA7 #D3AC2E #2ED359
split-complementary
#2E55D3 #D3592E #A7D32E
monochromatic
#172C6F #2240A2 #2E55D3 #617EDE #93A7E8

Accessibility & contrast

On white

6.26
#2E55D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#2E55D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E55D3
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E55D3#FFFFFF#000000##FFFFFF
##2E55D31.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D7
Deuteranopia (green-blind)
#0059D1
Tritanopia (blue-blind)
#00758C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2e55d3;
/* rgb */ color: rgb(46, 85, 211);
/* oklch */ color: oklch(50.2% 0.199 266.1);
Tailwind
colors: {
  custom: {
    50: '#8184e1',
    500: '#2e55d3',
    950: '#000000',
  },
}
SCSS
$custom: #2e55d3;
$custom-light: #8184e1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e55d3",
  "rgb": {
    "r": 46,
    "g": 85,
    "b": 211
  },
  "hsl": {
    "h": 225.818,
    "s": 65.217,
    "l": 50.392
  },
  "oklch": {
    "l": 0.50213,
    "c": 0.19892,
    "h": 266.1
  },
  "luminance": 0.11781
}

Semantic roles & 50–950 ramp

primary
#2E55D3
secondary
#D3C28A
accent
#C040E8
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #2E55D3

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

Preview Lab → · Contrast checker → · Palette generator →

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