#2D53A2#2D53A2

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

Color values

HEX#2D53A2
RGBrgb(45, 83, 162)
HSLhsl(221, 57%, 41%)
HSVhsv(221, 72%, 64%)
CMYKcmyk(72.2%, 48.8%, 0%, 36.5%)
CIE-LABlab(36.65, 14.43, -46.76)
CIE-LCHlch(36.65, 48.94, 287.15°)
OKLaboklab(45.88% -0.0167 -0.1342)
OKLCHoklch(45.88% 0.135 262.9)
XYZxyz(10.6947, 9.3519, 35.4169)
Luminance0.0935 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D53A2 #A27C2D
analogous
#2D8DA2 #2D53A2 #412DA2
triadic
#2D53A2 #A22D53 #53A22D
tetradic
#2D53A2 #A22D8D #A27C2D #2DA241
square
#2D53A2 #A22D8D #A27C2D #2DA241
split-complementary
#2D53A2 #A2412D #8DA22D
monochromatic
#122242 #203A72 #2D53A2 #426ECA #7293D8

Accessibility & contrast

On white

7.32
#2D53A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#2D53A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D53A2
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D53A2#FFFFFF#000000##FFFFFF
##2D53A21.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d53a2;
/* rgb */ color: rgb(45, 83, 162);
/* oklch */ color: oklch(45.9% 0.135 262.9);
Tailwind
colors: {
  custom: {
    50: '#7582be',
    500: '#2d53a2',
    950: '#000000',
  },
}
SCSS
$custom: #2d53a2;
$custom-light: #7582be;
$custom-dark: #000000;
JSON
{
  "hex": "#2d53a2",
  "rgb": {
    "r": 45,
    "g": 83,
    "b": 162
  },
  "hsl": {
    "h": 220.513,
    "s": 56.522,
    "l": 40.588
  },
  "oklch": {
    "l": 0.45879,
    "c": 0.1352,
    "h": 262.9
  },
  "luminance": 0.09353
}

Semantic roles & 50–950 ramp

primary
#2D53A2
secondary
#BFA46C
accent
#AE48E0
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2D53A2

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

Preview Lab → · Contrast checker → · Palette generator →

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