#2E55B5#2E55B5

#2E55B5 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.8% C 0.159 H 264.5°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#2E55B5
RGBrgb(46, 85, 181)
HSLhsl(223, 59%, 45%)
HSVhsv(223, 75%, 71%)
CMYKcmyk(74.6%, 53%, 0%, 29%)
CIE-LABlab(38.57, 20.48, -54.94)
CIE-LCHlch(38.57, 58.63, 290.44°)
OKLaboklab(47.77% -0.0153 -0.1582)
OKLCHoklch(47.77% 0.159 264.5)
XYZxyz(12.7128, 10.4126, 45.0469)
Luminance0.1041 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E55B5 #B58E2E
analogous
#2E98B5 #2E55B5 #4B2EB5
triadic
#2E55B5 #B52E55 #55B52E
tetradic
#2E55B5 #B52E98 #B58E2E #2EB54B
square
#2E55B5 #B52E98 #B58E2E #2EB54B
split-complementary
#2E55B5 #B54B2E #98B52E
monochromatic
#152753 #223E84 #2E55B5 #4E74D2 #7F9BDE

Accessibility & contrast

On white

6.81
#2E55B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#2E55B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E55B5
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E55B5#FFFFFF#000000##FFFFFF
##2E55B51.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1061B8
Deuteranopia (green-blind)
#0055B3
Tritanopia (blue-blind)
#006C7D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2e55b5;
/* rgb */ color: rgb(46, 85, 181);
/* oklch */ color: oklch(47.8% 0.159 264.5);
Tailwind
colors: {
  custom: {
    50: '#7a84cc',
    500: '#2e55b5',
    950: '#000000',
  },
}
SCSS
$custom: #2e55b5;
$custom-light: #7a84cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2e55b5",
  "rgb": {
    "r": 46,
    "g": 85,
    "b": 181
  },
  "hsl": {
    "h": 222.667,
    "s": 59.471,
    "l": 44.51
  },
  "oklch": {
    "l": 0.47773,
    "c": 0.15889,
    "h": 264.5
  },
  "luminance": 0.10414
}

Semantic roles & 50–950 ramp

primary
#2E55B5
secondary
#C7B078
accent
#B545E3
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2E55B5

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

Preview Lab → · Contrast checker → · Palette generator →

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