#132272#132272

#132272 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.3% C 0.138 H 268.1°. Best body text is #FFFFFF at 14.01:1 contrast (WCAG AA passes).

Color values

HEX#132272
RGBrgb(19, 34, 114)
HSLhsl(231, 71%, 26%)
HSVhsv(231, 83%, 45%)
CMYKcmyk(83.3%, 70.2%, 0%, 55.3%)
CIE-LABlab(17.91, 25.97, -47.51)
CIE-LCHlch(17.91, 54.14, 298.66°)
OKLaboklab(30.26% -0.0047 -0.1376)
OKLCHoklch(30.26% 0.138 268.1)
XYZxyz(3.8768, 2.4970, 16.1940)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#132272 #726313
analogous
#135172 #132272 #331372
triadic
#132272 #721322 #227213
tetradic
#132272 #721351 #726313 #137233
square
#132272 #721351 #726313 #137233
split-complementary
#132272 #723313 #517213
monochromatic
#04081A #0A123E #132272 #1C32A6 #2541DB

Accessibility & contrast

On white

14.01
#132272 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#132272 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #132272
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##132272#FFFFFF#000000##FFFFFF
##1322721.0014.011.5014.01
#FFFFFF14.011.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003074
Deuteranopia (green-blind)
#002771
Tritanopia (blue-blind)
#003847
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #132272;
/* rgb */ color: rgb(19, 34, 114);
/* oklch */ color: oklch(30.3% 0.138 268.1);
Tailwind
colors: {
  custom: {
    50: '#645d9b',
    500: '#132272',
    950: '#000000',
  },
}
SCSS
$custom: #132272;
$custom-light: #645d9b;
$custom-dark: #000000;
JSON
{
  "hex": "#132272",
  "rgb": {
    "r": 19,
    "g": 34,
    "b": 114
  },
  "hsl": {
    "h": 230.526,
    "s": 71.429,
    "l": 26.078
  },
  "oklch": {
    "l": 0.30262,
    "c": 0.13766,
    "h": 268.1
  },
  "luminance": 0.02497
}

Semantic roles & 50–950 ramp

primary
#132272
secondary
#A99738
accent
#D23AEE
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #132272

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

Preview Lab → · Contrast checker → · Palette generator →

#132272 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva