#133171#133171

#133171 is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.3% C 0.117 H 262.8°. Best body text is #FFFFFF at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#133171
RGBrgb(19, 49, 113)
HSLhsl(221, 71%, 26%)
HSVhsv(221, 83%, 44%)
CMYKcmyk(83.2%, 56.6%, 0%, 55.7%)
CIE-LABlab(22.04, 14.83, -40.11)
CIE-LCHlch(22.04, 42.76, 290.29°)
OKLaboklab(33.31% -0.0146 -0.1157)
OKLCHoklch(33.31% 0.117 262.8)
XYZxyz(4.3464, 3.5268, 16.0713)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#133171 #715313
analogous
#136071 #133171 #241371
triadic
#133171 #711331 #317113
tetradic
#133171 #711360 #715313 #137124
square
#133171 #711360 #715313 #137124
split-complementary
#133171 #712413 #607113
monochromatic
#040B1A #0A1A3D #133171 #1C48A5 #255EDA

Accessibility & contrast

On white

12.31
#133171 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#133171 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #133171
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##133171#FFFFFF#000000##FFFFFF
##1331711.0012.311.7112.31
#FFFFFF12.311.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003973
Deuteranopia (green-blind)
#003170
Tritanopia (blue-blind)
#00414C
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #133171;
/* rgb */ color: rgb(19, 49, 113);
/* oklch */ color: oklch(33.3% 0.117 262.8);
Tailwind
colors: {
  custom: {
    50: '#62689a',
    500: '#133171',
    950: '#000000',
  },
}
SCSS
$custom: #133171;
$custom-light: #62689a;
$custom-dark: #000000;
JSON
{
  "hex": "#133171",
  "rgb": {
    "r": 19,
    "g": 49,
    "b": 113
  },
  "hsl": {
    "h": 220.851,
    "s": 71.212,
    "l": 25.882
  },
  "oklch": {
    "l": 0.33313,
    "c": 0.11658,
    "h": 262.8
  },
  "luminance": 0.03527
}

Semantic roles & 50–950 ramp

primary
#133171
secondary
#A88438
accent
#B43AEE
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #133171

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

Preview Lab → · Contrast checker → · Palette generator →

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