#2152AC#2152AC

#2152AC is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.0% C 0.154 H 261.3°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#2152AC
RGBrgb(33, 82, 172)
HSLhsl(219, 68%, 40%)
HSVhsv(219, 81%, 67%)
CMYKcmyk(80.8%, 52.3%, 0%, 32.5%)
CIE-LABlab(36.62, 17.49, -52.80)
CIE-LCHlch(36.62, 55.62, 288.33°)
OKLaboklab(45.95% -0.0234 -0.1521)
OKLCHoklch(45.95% 0.154 261.3)
XYZxyz(11.0882, 9.3352, 40.2392)
Luminance0.0934 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2152AC #AC7B21
analogous
#2197AC #2152AC #3521AC
triadic
#2152AC #AC2152 #52AC21
tetradic
#2152AC #AC2197 #AC7B21 #21AC35
square
#2152AC #AC2197 #AC7B21 #21AC35
split-complementary
#2152AC #AC3521 #97AC21
monochromatic
#0D2145 #173A79 #2152AC #326DD8 #6691E2

Accessibility & contrast

On white

7.32
#2152AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2152AC
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2152AC#FFFFFF#000000##FFFFFF
##2152AC1.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)
#135DAF
Deuteranopia (green-blind)
#0050AA
Tritanopia (blue-blind)
#006877
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2152ac;
/* rgb */ color: rgb(33, 82, 172);
/* oklch */ color: oklch(46.0% 0.154 261.3);
Tailwind
colors: {
  custom: {
    50: '#7381c5',
    500: '#2152ac',
    950: '#000000',
  },
}
SCSS
$custom: #2152ac;
$custom-light: #7381c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2152ac",
  "rgb": {
    "r": 33,
    "g": 82,
    "b": 172
  },
  "hsl": {
    "h": 218.849,
    "s": 67.805,
    "l": 40.196
  },
  "oklch": {
    "l": 0.45954,
    "c": 0.1539,
    "h": 261.3
  },
  "luminance": 0.09336
}

Semantic roles & 50–950 ramp

primary
#2152AC
secondary
#C7A362
accent
#AD3DEB
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#090A13
muted
#7B7C82

Preview Lab

Preview with #2152AC

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

Preview Lab → · Contrast checker → · Palette generator →

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