#2152A9#2152A9

#2152A9 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.7% C 0.150 H 260.9°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#2152A9
RGBrgb(33, 82, 169)
HSLhsl(218, 67%, 40%)
HSVhsv(218, 80%, 66%)
CMYKcmyk(80.5%, 51.5%, 0%, 33.7%)
CIE-LABlab(36.41, 16.31, -51.36)
CIE-LCHlch(36.41, 53.89, 287.62°)
OKLaboklab(45.72% -0.0237 -0.1479)
OKLCHoklch(45.72% 0.15 260.9)
XYZxyz(10.8033, 9.2212, 38.7389)
Luminance0.0922 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2152A9 #A97821
analogous
#2196A9 #2152A9 #3421A9
triadic
#2152A9 #A92152 #52A921
tetradic
#2152A9 #A92196 #A97821 #21A934
square
#2152A9 #A92196 #A97821 #21A934
split-complementary
#2152A9 #A93421 #96A921
monochromatic
#0D2043 #173976 #2152A9 #316CD7 #6491E1

Accessibility & contrast

On white

7.38
#2152A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#2152A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2152A9
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2152A9#FFFFFF#000000##FFFFFF
##2152A91.007.382.847.38
#FFFFFF7.381.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#195CAC
Deuteranopia (green-blind)
#0050A7
Tritanopia (blue-blind)
#006775
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2152a9;
/* rgb */ color: rgb(33, 82, 169);
/* oklch */ color: oklch(45.7% 0.150 260.9);
Tailwind
colors: {
  custom: {
    50: '#7382c3',
    500: '#2152a9',
    950: '#000000',
  },
}
SCSS
$custom: #2152a9;
$custom-light: #7382c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2152a9",
  "rgb": {
    "r": 33,
    "g": 82,
    "b": 169
  },
  "hsl": {
    "h": 218.382,
    "s": 67.327,
    "l": 39.608
  },
  "oklch": {
    "l": 0.45721,
    "c": 0.14979,
    "h": 260.9
  },
  "luminance": 0.09222
}

Semantic roles & 50–950 ramp

primary
#2152A9
secondary
#C6A160
accent
#AC3EEA
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#090A13
muted
#7B7C82

Preview Lab

Preview with #2152A9

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

Preview Lab → · Contrast checker → · Palette generator →

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