#2132A8#2132A8

#2132A8 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.4% C 0.187 H 268.8°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#2132A8
RGBrgb(33, 50, 168)
HSLhsl(232, 67%, 39%)
HSVhsv(232, 80%, 66%)
CMYKcmyk(80.4%, 70.2%, 0%, 34.1%)
CIE-LABlab(27.93, 37.13, -64.60)
CIE-LCHlch(27.93, 74.52, 299.89°)
OKLaboklab(39.38% -0.0041 -0.1871)
OKLCHoklch(39.38% 0.187 268.8)
XYZxyz(8.8332, 5.4307, 37.6209)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2132A8 #A89721
analogous
#2176A8 #2132A8 #5321A8
triadic
#2132A8 #A82132 #32A821
tetradic
#2132A8 #A82176 #A89721 #21A853
square
#2132A8 #A82176 #A89721 #21A853
split-complementary
#2132A8 #A85321 #76A821
monochromatic
#0D1442 #172375 #2132A8 #3045D6 #6373E0

Accessibility & contrast

On white

10.07
#2132A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#2132A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2132A8
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2132A8#FFFFFF#000000##FFFFFF
##2132A81.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AC
Deuteranopia (green-blind)
#003BA6
Tritanopia (blue-blind)
#005369
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2132a8;
/* rgb */ color: rgb(33, 50, 168);
/* oklch */ color: oklch(39.4% 0.187 268.8);
Tailwind
colors: {
  custom: {
    50: '#756ac3',
    500: '#2132a8',
    950: '#000000',
  },
}
SCSS
$custom: #2132a8;
$custom-light: #756ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#2132a8",
  "rgb": {
    "r": 33,
    "g": 50,
    "b": 168
  },
  "hsl": {
    "h": 232.444,
    "s": 67.164,
    "l": 39.412
  },
  "oklch": {
    "l": 0.39375,
    "c": 0.18717,
    "h": 268.8
  },
  "luminance": 0.05432
}

Semantic roles & 50–950 ramp

primary
#2132A8
secondary
#C5B95F
accent
#D43EEA
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #2132A8

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

Preview Lab → · Contrast checker → · Palette generator →

#2132A8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva