#2E55B2#2E55B2

#2E55B2 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.5% C 0.155 H 264.2°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#2E55B2
RGBrgb(46, 85, 178)
HSLhsl(222, 59%, 44%)
HSVhsv(222, 74%, 70%)
CMYKcmyk(74.2%, 52.2%, 0%, 30.2%)
CIE-LABlab(38.36, 19.34, -53.51)
CIE-LCHlch(38.36, 56.90, 289.87°)
OKLaboklab(47.54% -0.0156 -0.154)
OKLCHoklch(47.54% 0.155 264.2)
XYZxyz(12.4082, 10.2908, 43.4432)
Luminance0.1029 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E55B2 #B28B2E
analogous
#2E97B2 #2E55B2 #492EB2
triadic
#2E55B2 #B22E55 #55B22E
tetradic
#2E55B2 #B22E97 #B28B2E #2EB249
square
#2E55B2 #B22E97 #B28B2E #2EB249
split-complementary
#2E55B2 #B2492E #97B22E
monochromatic
#152751 #213E81 #2E55B2 #4C74D1 #7D99DD

Accessibility & contrast

On white

6.87
#2E55B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#2E55B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E55B2
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E55B2#FFFFFF#000000##FFFFFF
##2E55B21.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1761B5
Deuteranopia (green-blind)
#0055B0
Tritanopia (blue-blind)
#006B7B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2e55b2;
/* rgb */ color: rgb(46, 85, 178);
/* oklch */ color: oklch(47.5% 0.155 264.2);
Tailwind
colors: {
  custom: {
    50: '#7984ca',
    500: '#2e55b2',
    950: '#000000',
  },
}
SCSS
$custom: #2e55b2;
$custom-light: #7984ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2e55b2",
  "rgb": {
    "r": 46,
    "g": 85,
    "b": 178
  },
  "hsl": {
    "h": 222.273,
    "s": 58.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.47543,
    "c": 0.15476,
    "h": 264.2
  },
  "luminance": 0.10292
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E55B2

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

Preview Lab → · Contrast checker → · Palette generator →

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