#2E55BA#2E55BA

#2E55BA is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.2% C 0.166 H 264.8°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#2E55BA
RGBrgb(46, 85, 186)
HSLhsl(223, 60%, 45%)
HSVhsv(223, 75%, 73%)
CMYKcmyk(75.3%, 54.3%, 0%, 27.1%)
CIE-LABlab(38.94, 22.37, -57.28)
CIE-LCHlch(38.94, 61.50, 291.33°)
OKLaboklab(48.16% -0.0149 -0.1651)
OKLCHoklch(48.16% 0.166 264.8)
XYZxyz(13.2350, 10.6215, 47.7975)
Luminance0.1062 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E55BA #BA932E
analogous
#2E9BBA #2E55BA #4D2EBA
triadic
#2E55BA #BA2E55 #55BA2E
tetradic
#2E55BA #BA2E9B #BA932E #2EBA4D
square
#2E55BA #BA2E9B #BA932E #2EBA4D
split-complementary
#2E55BA #BA4D2E #9BBA2E
monochromatic
#162858 #223F89 #2E55BA #5176D4 #829CE0

Accessibility & contrast

On white

6.72
#2E55BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#2E55BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E55BA
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E55BA#FFFFFF#000000##FFFFFF
##2E55BA1.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062BE
Deuteranopia (green-blind)
#0056B8
Tritanopia (blue-blind)
#006E7F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2e55ba;
/* rgb */ color: rgb(46, 85, 186);
/* oklch */ color: oklch(48.2% 0.166 264.8);
Tailwind
colors: {
  custom: {
    50: '#7b84cf',
    500: '#2e55ba',
    950: '#000000',
  },
}
SCSS
$custom: #2e55ba;
$custom-light: #7b84cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2e55ba",
  "rgb": {
    "r": 46,
    "g": 85,
    "b": 186
  },
  "hsl": {
    "h": 223.286,
    "s": 60.345,
    "l": 45.49
  },
  "oklch": {
    "l": 0.48162,
    "c": 0.16573,
    "h": 264.8
  },
  "luminance": 0.10623
}

Semantic roles & 50–950 ramp

primary
#2E55BA
secondary
#C9B37B
accent
#B744E3
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #2E55BA

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

Preview Lab → · Contrast checker → · Palette generator →

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