#1F32A6#1F32A6

#1F32A6 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.1% C 0.185 H 268.2°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#1F32A6
RGBrgb(31, 50, 166)
HSLhsl(232, 69%, 39%)
HSVhsv(232, 81%, 65%)
CMYKcmyk(81.3%, 69.9%, 0%, 34.9%)
CIE-LABlab(27.64, 36.24, -63.87)
CIE-LCHlch(27.64, 73.44, 299.57°)
OKLaboklab(39.08% -0.0057 -0.185)
OKLCHoklch(39.08% 0.185 268.2)
XYZxyz(8.5862, 5.3247, 36.6442)
Luminance0.0533 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F32A6 #A6931F
analogous
#1F75A6 #1F32A6 #501FA6
triadic
#1F32A6 #A61F32 #32A61F
tetradic
#1F32A6 #A61F75 #A6931F #1FA650
square
#1F32A6 #A61F75 #A6931F #1FA650
split-complementary
#1F32A6 #A6501F #75A61F
monochromatic
#0C133F #152272 #1F32A6 #2B43D7 #5E71E1

Accessibility & contrast

On white

10.17
#1F32A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#1F32A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F32A6
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F32A6#FFFFFF#000000##FFFFFF
##1F32A61.0010.172.0710.17
#FFFFFF10.171.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AA
Deuteranopia (green-blind)
#003BA4
Tritanopia (blue-blind)
#005268
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #1f32a6;
/* rgb */ color: rgb(31, 50, 166);
/* oklch */ color: oklch(39.1% 0.185 268.2);
Tailwind
colors: {
  custom: {
    50: '#746ac2',
    500: '#1f32a6',
    950: '#000000',
  },
}
SCSS
$custom: #1f32a6;
$custom-light: #746ac2;
$custom-dark: #000000;
JSON
{
  "hex": "#1f32a6",
  "rgb": {
    "r": 31,
    "g": 50,
    "b": 166
  },
  "hsl": {
    "h": 231.556,
    "s": 68.528,
    "l": 38.627
  },
  "oklch": {
    "l": 0.39082,
    "c": 0.18513,
    "h": 268.2
  },
  "luminance": 0.05326
}

Semantic roles & 50–950 ramp

primary
#1F32A6
secondary
#C5B75B
accent
#D33CEB
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #1F32A6

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

Preview Lab → · Contrast checker → · Palette generator →

#1F32A6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva