#1F32A8#1F32A8

#1F32A8 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.3% C 0.188 H 268.2°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#1F32A8
RGBrgb(31, 50, 168)
HSLhsl(232, 69%, 39%)
HSVhsv(232, 82%, 66%)
CMYKcmyk(81.5%, 70.2%, 0%, 34.1%)
CIE-LABlab(27.84, 36.98, -64.75)
CIE-LCHlch(27.84, 74.56, 299.73°)
OKLaboklab(39.29% -0.0059 -0.1876)
OKLCHoklch(39.29% 0.188 268.2)
XYZxyz(8.7711, 5.3986, 37.6180)
Luminance0.0540 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F32A8 #A8951F
analogous
#1F77A8 #1F32A8 #511FA8
triadic
#1F32A8 #A81F32 #32A81F
tetradic
#1F32A8 #A81F77 #A8951F #1FA851
square
#1F32A8 #A81F77 #A8951F #1FA851
split-complementary
#1F32A8 #A8511F #77A81F
monochromatic
#0C1341 #152374 #1F32A8 #2C44D8 #6072E2

Accessibility & contrast

On white

10.10
#1F32A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#1F32A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F32A8
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F32A8#FFFFFF#000000##FFFFFF
##1F32A81.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.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: #1f32a8;
/* rgb */ color: rgb(31, 50, 168);
/* oklch */ color: oklch(39.3% 0.188 268.2);
Tailwind
colors: {
  custom: {
    50: '#746ac3',
    500: '#1f32a8',
    950: '#000000',
  },
}
SCSS
$custom: #1f32a8;
$custom-light: #746ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#1f32a8",
  "rgb": {
    "r": 31,
    "g": 50,
    "b": 168
  },
  "hsl": {
    "h": 231.679,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.39288,
    "c": 0.18768,
    "h": 268.2
  },
  "luminance": 0.054
}

Semantic roles & 50–950 ramp

primary
#1F32A8
secondary
#C6B85D
accent
#D33CEC
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #1F32A8

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

Preview Lab → · Contrast checker → · Palette generator →

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