#2E53A2#2E53A2

#2E53A2 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 45.9% C 0.135 H 263.2°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#2E53A2
RGBrgb(46, 83, 162)
HSLhsl(221, 56%, 41%)
HSVhsv(221, 72%, 64%)
CMYKcmyk(71.6%, 48.8%, 0%, 36.5%)
CIE-LABlab(36.70, 14.58, -46.69)
CIE-LCHlch(36.70, 48.92, 287.34°)
OKLaboklab(45.92% -0.0159 -0.1339)
OKLCHoklch(45.92% 0.135 263.2)
XYZxyz(10.7392, 9.3749, 35.4190)
Luminance0.0938 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E53A2 #A27D2E
analogous
#2E8DA2 #2E53A2 #432EA2
triadic
#2E53A2 #A22E53 #53A22E
tetradic
#2E53A2 #A22E8D #A27D2E #2EA243
square
#2E53A2 #A22E8D #A27D2E #2EA243
split-complementary
#2E53A2 #A2432E #8DA22E
monochromatic
#132243 #203B72 #2E53A2 #436ECA #7393D7

Accessibility & contrast

On white

7.30
#2E53A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#2E53A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E53A2
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E53A2#FFFFFF#000000##FFFFFF
##2E53A21.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285CA5
Deuteranopia (green-blind)
#0751A0
Tritanopia (blue-blind)
#006672
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2e53a2;
/* rgb */ color: rgb(46, 83, 162);
/* oklch */ color: oklch(45.9% 0.135 263.2);
Tailwind
colors: {
  custom: {
    50: '#7682be',
    500: '#2e53a2',
    950: '#000000',
  },
}
SCSS
$custom: #2e53a2;
$custom-light: #7682be;
$custom-dark: #000000;
JSON
{
  "hex": "#2e53a2",
  "rgb": {
    "r": 46,
    "g": 83,
    "b": 162
  },
  "hsl": {
    "h": 220.862,
    "s": 55.769,
    "l": 40.784
  },
  "oklch": {
    "l": 0.45924,
    "c": 0.13487,
    "h": 263.2
  },
  "luminance": 0.09376
}

Semantic roles & 50–950 ramp

primary
#2E53A2
secondary
#BFA56D
accent
#AF49DF
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2E53A2

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

Preview Lab → · Contrast checker → · Palette generator →

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