#2E55A2#2E55A2

#2E55A2 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.4% C 0.132 H 262.3°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#2E55A2
RGBrgb(46, 85, 162)
HSLhsl(220, 56%, 41%)
HSVhsv(220, 72%, 64%)
CMYKcmyk(71.6%, 47.5%, 0%, 36.5%)
CIE-LABlab(37.27, 13.26, -45.77)
CIE-LCHlch(37.27, 47.65, 286.16°)
OKLaboklab(46.37% -0.0177 -0.1312)
OKLCHoklch(46.37% 0.132 262.3)
XYZxyz(10.8945, 9.6853, 35.4707)
Luminance0.0969 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E55A2 #A27B2E
analogous
#2E8FA2 #2E55A2 #412EA2
triadic
#2E55A2 #A22E55 #55A22E
tetradic
#2E55A2 #A22E8F #A27B2E #2EA241
square
#2E55A2 #A22E8F #A27B2E #2EA241
split-complementary
#2E55A2 #A2412E #8FA22E
monochromatic
#132343 #203C72 #2E55A2 #4371CA #7395D7

Accessibility & contrast

On white

7.15
#2E55A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#2E55A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E55A2
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E55A2#FFFFFF#000000##FFFFFF
##2E55A21.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5DA5
Deuteranopia (green-blind)
#1253A0
Tritanopia (blue-blind)
#006773
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2e55a2;
/* rgb */ color: rgb(46, 85, 162);
/* oklch */ color: oklch(46.4% 0.132 262.3);
Tailwind
colors: {
  custom: {
    50: '#7584be',
    500: '#2e55a2',
    950: '#000000',
  },
}
SCSS
$custom: #2e55a2;
$custom-light: #7584be;
$custom-dark: #000000;
JSON
{
  "hex": "#2e55a2",
  "rgb": {
    "r": 46,
    "g": 85,
    "b": 162
  },
  "hsl": {
    "h": 219.828,
    "s": 55.769,
    "l": 40.784
  },
  "oklch": {
    "l": 0.46365,
    "c": 0.13237,
    "h": 262.3
  },
  "luminance": 0.09686
}

Semantic roles & 50–950 ramp

primary
#2E55A2
secondary
#BFA36D
accent
#AD49DF
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2E55A2

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

Preview Lab → · Contrast checker → · Palette generator →

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