#2E55C4#2E55C4

#2E55C4 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.0% C 0.179 H 265.4°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#2E55C4
RGBrgb(46, 85, 196)
HSLhsl(224, 62%, 47%)
HSVhsv(224, 77%, 77%)
CMYKcmyk(76.5%, 56.6%, 0%, 23.1%)
CIE-LABlab(39.68, 26.13, -61.90)
CIE-LCHlch(39.68, 67.19, 292.89°)
OKLaboklab(48.96% -0.0142 -0.1786)
OKLCHoklch(48.96% 0.179 265.4)
XYZxyz(14.3355, 11.0617, 53.5935)
Luminance0.1106 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E55C4 #C49D2E
analogous
#2EA0C4 #2E55C4 #522EC4
triadic
#2E55C4 #C42E55 #55C42E
tetradic
#2E55C4 #C42EA0 #C49D2E #2EC452
square
#2E55C4 #C42EA0 #C49D2E #2EC452
split-complementary
#2E55C4 #C4522E #A0C42E
monochromatic
#172A61 #224092 #2E55C4 #5879D8 #89A1E3

Accessibility & contrast

On white

6.54
#2E55C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#2E55C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E55C4
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E55C4#FFFFFF#000000##FFFFFF
##2E55C41.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C8
Deuteranopia (green-blind)
#0057C2
Tritanopia (blue-blind)
#007184
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2e55c4;
/* rgb */ color: rgb(46, 85, 196);
/* oklch */ color: oklch(49.0% 0.179 265.4);
Tailwind
colors: {
  custom: {
    50: '#7d84d7',
    500: '#2e55c4',
    950: '#000000',
  },
}
SCSS
$custom: #2e55c4;
$custom-light: #7d84d7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e55c4",
  "rgb": {
    "r": 46,
    "g": 85,
    "b": 196
  },
  "hsl": {
    "h": 224.4,
    "s": 61.983,
    "l": 47.451
  },
  "oklch": {
    "l": 0.48963,
    "c": 0.17921,
    "h": 265.4
  },
  "luminance": 0.11063
}

Semantic roles & 50–950 ramp

primary
#2E55C4
secondary
#CDB981
accent
#BB43E5
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #2E55C4

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

Preview Lab → · Contrast checker → · Palette generator →

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