#2E53B7#2E53B7

#2E53B7 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.5% C 0.164 H 265.3°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#2E53B7
RGBrgb(46, 83, 183)
HSLhsl(224, 60%, 45%)
HSVhsv(224, 75%, 72%)
CMYKcmyk(74.9%, 54.6%, 0%, 28.2%)
CIE-LABlab(38.17, 22.55, -56.76)
CIE-LCHlch(38.17, 61.08, 291.66°)
OKLaboklab(47.52% -0.0136 -0.1636)
OKLCHoklch(47.52% 0.164 265.3)
XYZxyz(12.7642, 10.1849, 46.0837)
Luminance0.1019 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E53B7 #B7922E
analogous
#2E97B7 #2E53B7 #4E2EB7
triadic
#2E53B7 #B72E53 #53B72E
tetradic
#2E53B7 #B72E97 #B7922E #2EB74E
square
#2E53B7 #B72E97 #B7922E #2EB74E
split-complementary
#2E53B7 #B74E2E #97B72E
monochromatic
#152755 #223D86 #2E53B7 #4F73D3 #809ADF

Accessibility & contrast

On white

6.91
#2E53B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#2E53B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E53B7
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E53B7#FFFFFF#000000##FFFFFF
##2E53B71.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BA
Deuteranopia (green-blind)
#0054B5
Tritanopia (blue-blind)
#006B7D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2e53b7;
/* rgb */ color: rgb(46, 83, 183);
/* oklch */ color: oklch(47.5% 0.164 265.3);
Tailwind
colors: {
  custom: {
    50: '#7a82cd',
    500: '#2e53b7',
    950: '#000000',
  },
}
SCSS
$custom: #2e53b7;
$custom-light: #7a82cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2e53b7",
  "rgb": {
    "r": 46,
    "g": 83,
    "b": 183
  },
  "hsl": {
    "h": 223.796,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.47516,
    "c": 0.16412,
    "h": 265.3
  },
  "luminance": 0.10186
}

Semantic roles & 50–950 ramp

primary
#2E53B7
secondary
#C8B379
accent
#B845E3
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #2E53B7

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

Preview Lab → · Contrast checker → · Palette generator →

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