#2152CA#2152CA

#2152CA is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.4% C 0.194 H 263.8°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#2152CA
RGBrgb(33, 82, 202)
HSLhsl(223, 72%, 46%)
HSVhsv(223, 84%, 79%)
CMYKcmyk(83.7%, 59.4%, 0%, 20.8%)
CIE-LABlab(38.93, 29.16, -66.63)
CIE-LCHlch(38.93, 72.73, 293.63°)
OKLaboklab(48.43% -0.0211 -0.1928)
OKLCHoklch(48.43% 0.194 263.8)
XYZxyz(14.3014, 10.6204, 57.1619)
Luminance0.1062 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2152CA #CA9921
analogous
#21A6CA #2152CA #4521CA
triadic
#2152CA #CA2152 #52CA21
tetradic
#2152CA #CA21A6 #CA9921 #21CA45
square
#2152CA #CA21A6 #CA9921 #21CA45
split-complementary
#2152CA #CA4521 #A6CA21
monochromatic
#102761 #183D95 #2152CA #4774E1 #7C9CEA

Accessibility & contrast

On white

6.72
#2152CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#2152CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2152CA
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2152CA#FFFFFF#000000##FFFFFF
##2152CA1.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CE
Deuteranopia (green-blind)
#0054C8
Tritanopia (blue-blind)
#007186
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2152ca;
/* rgb */ color: rgb(33, 82, 202);
/* oklch */ color: oklch(48.4% 0.194 263.8);
Tailwind
colors: {
  custom: {
    50: '#7b82db',
    500: '#2152ca',
    950: '#000000',
  },
}
SCSS
$custom: #2152ca;
$custom-light: #7b82db;
$custom-dark: #000000;
JSON
{
  "hex": "#2152ca",
  "rgb": {
    "r": 33,
    "g": 82,
    "b": 202
  },
  "hsl": {
    "h": 222.604,
    "s": 71.915,
    "l": 46.078
  },
  "oklch": {
    "l": 0.48425,
    "c": 0.19391,
    "h": 263.8
  },
  "luminance": 0.10622
}

Semantic roles & 50–950 ramp

primary
#2152CA
secondary
#D2B775
accent
#BA39EF
background
#F8F7FD
surface
#EFEEFB
border
#CAC9D4
text
#0B0A15
muted
#7C7C83

Preview Lab

Preview with #2152CA

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

Preview Lab → · Contrast checker → · Palette generator →

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