#2152AD#2152AD

#2152AD is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.0% C 0.155 H 261.4°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#2152AD
RGBrgb(33, 82, 173)
HSLhsl(219, 68%, 40%)
HSVhsv(219, 81%, 68%)
CMYKcmyk(80.9%, 52.6%, 0%, 32.2%)
CIE-LABlab(36.69, 17.89, -53.27)
CIE-LCHlch(36.69, 56.20, 288.56°)
OKLaboklab(46.03% -0.0232 -0.1535)
OKLCHoklch(46.03% 0.155 261.4)
XYZxyz(11.1846, 9.3737, 40.7469)
Luminance0.0938 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2152AD #AD7C21
analogous
#2198AD #2152AD #3621AD
triadic
#2152AD #AD2152 #52AD21
tetradic
#2152AD #AD2198 #AD7C21 #21AD36
square
#2152AD #AD2198 #AD7C21 #21AD36
split-complementary
#2152AD #AD3621 #98AD21
monochromatic
#0D2146 #173A7A #2152AD #336DD8 #6692E2

Accessibility & contrast

On white

7.30
#2152AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#2152AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2152AD
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2152AD#FFFFFF#000000##FFFFFF
##2152AD1.007.302.877.30
#FFFFFF7.301.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#115DB0
Deuteranopia (green-blind)
#0050AB
Tritanopia (blue-blind)
#006877
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2152ad;
/* rgb */ color: rgb(33, 82, 173);
/* oklch */ color: oklch(46.0% 0.155 261.4);
Tailwind
colors: {
  custom: {
    50: '#7481c6',
    500: '#2152ad',
    950: '#000000',
  },
}
SCSS
$custom: #2152ad;
$custom-light: #7481c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2152ad",
  "rgb": {
    "r": 33,
    "g": 82,
    "b": 173
  },
  "hsl": {
    "h": 219,
    "s": 67.961,
    "l": 40.392
  },
  "oklch": {
    "l": 0.46032,
    "c": 0.15527,
    "h": 261.4
  },
  "luminance": 0.09375
}

Semantic roles & 50–950 ramp

primary
#2152AD
secondary
#C7A462
accent
#AE3DEB
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2152AD

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

Preview Lab → · Contrast checker → · Palette generator →

#2152AD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva