#2E55B4#2E55B4

#2E55B4 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.7% C 0.158 H 264.4°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#2E55B4
RGBrgb(46, 85, 180)
HSLhsl(223, 59%, 44%)
HSVhsv(223, 74%, 71%)
CMYKcmyk(74.4%, 52.8%, 0%, 29.4%)
CIE-LABlab(38.50, 20.10, -54.46)
CIE-LCHlch(38.50, 58.05, 290.25°)
OKLaboklab(47.7% -0.0154 -0.1568)
OKLCHoklch(47.7% 0.158 264.4)
XYZxyz(12.6105, 10.3718, 44.5085)
Luminance0.1037 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E55B4 #B48D2E
analogous
#2E98B4 #2E55B4 #4A2EB4
triadic
#2E55B4 #B42E55 #55B42E
tetradic
#2E55B4 #B42E98 #B48D2E #2EB44A
square
#2E55B4 #B42E98 #B48D2E #2EB44A
split-complementary
#2E55B4 #B44A2E #98B42E
monochromatic
#152753 #223E83 #2E55B4 #4E74D2 #7E9ADE

Accessibility & contrast

On white

6.83
#2E55B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2E55B4
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E55B4#FFFFFF#000000##FFFFFF
##2E55B41.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1261B7
Deuteranopia (green-blind)
#0055B2
Tritanopia (blue-blind)
#006C7C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2e55b4;
/* rgb */ color: rgb(46, 85, 180);
/* oklch */ color: oklch(47.7% 0.158 264.4);
Tailwind
colors: {
  custom: {
    50: '#7984cb',
    500: '#2e55b4',
    950: '#000000',
  },
}
SCSS
$custom: #2e55b4;
$custom-light: #7984cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2e55b4",
  "rgb": {
    "r": 46,
    "g": 85,
    "b": 180
  },
  "hsl": {
    "h": 222.537,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.47696,
    "c": 0.15752,
    "h": 264.4
  },
  "luminance": 0.10373
}

Semantic roles & 50–950 ramp

primary
#2E55B4
secondary
#C7B077
accent
#B545E2
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2E55B4

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

Preview Lab → · Contrast checker → · Palette generator →

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