#2E55B3#2E55B3

#2E55B3 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.6% C 0.156 H 264.3°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#2E55B3
RGBrgb(46, 85, 179)
HSLhsl(222, 59%, 44%)
HSVhsv(222, 74%, 70%)
CMYKcmyk(74.3%, 52.5%, 0%, 29.8%)
CIE-LABlab(38.43, 19.72, -53.99)
CIE-LCHlch(38.43, 57.48, 290.06°)
OKLaboklab(47.62% -0.0155 -0.1554)
OKLCHoklch(47.62% 0.156 264.3)
XYZxyz(12.5090, 10.3312, 43.9739)
Luminance0.1033 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E55B3 #B38C2E
analogous
#2E98B3 #2E55B3 #4A2EB3
triadic
#2E55B3 #B32E55 #55B32E
tetradic
#2E55B3 #B32E98 #B38C2E #2EB34A
square
#2E55B3 #B32E98 #B38C2E #2EB34A
split-complementary
#2E55B3 #B34A2E #98B32E
monochromatic
#152752 #213E82 #2E55B3 #4D74D1 #7E9ADE

Accessibility & contrast

On white

6.85
#2E55B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#2E55B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E55B3
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E55B3#FFFFFF#000000##FFFFFF
##2E55B31.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1561B6
Deuteranopia (green-blind)
#0055B1
Tritanopia (blue-blind)
#006C7C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2e55b3;
/* rgb */ color: rgb(46, 85, 179);
/* oklch */ color: oklch(47.6% 0.156 264.3);
Tailwind
colors: {
  custom: {
    50: '#7984ca',
    500: '#2e55b3',
    950: '#000000',
  },
}
SCSS
$custom: #2e55b3;
$custom-light: #7984ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2e55b3",
  "rgb": {
    "r": 46,
    "g": 85,
    "b": 179
  },
  "hsl": {
    "h": 222.406,
    "s": 59.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.47619,
    "c": 0.15613,
    "h": 264.3
  },
  "luminance": 0.10333
}

Semantic roles & 50–950 ramp

primary
#2E55B3
secondary
#C6AF76
accent
#B446E2
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2E55B3

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

Preview Lab → · Contrast checker → · Palette generator →

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