#1F32A9#1F32A9

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

Color values

HEX#1F32A9
RGBrgb(31, 50, 169)
HSLhsl(232, 69%, 39%)
HSVhsv(232, 82%, 66%)
CMYKcmyk(81.7%, 70.4%, 0%, 33.7%)
CIE-LABlab(27.94, 37.34, -65.18)
CIE-LCHlch(27.94, 75.12, 299.81°)
OKLaboklab(39.39% -0.006 -0.1889)
OKLCHoklch(39.39% 0.189 268.2)
XYZxyz(8.8646, 5.4360, 38.1105)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F32A9 #A9961F
analogous
#1F77A9 #1F32A9 #511FA9
triadic
#1F32A9 #A91F32 #32A91F
tetradic
#1F32A9 #A91F77 #A9961F #1FA951
square
#1F32A9 #A91F77 #A9961F #1FA951
split-complementary
#1F32A9 #A9511F #77A91F
monochromatic
#0C1342 #162375 #1F32A9 #2D44D8 #6072E2

Accessibility & contrast

On white

10.06
#1F32A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#1F32A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F32A9
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F32A9#FFFFFF#000000##FFFFFF
##1F32A91.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AD
Deuteranopia (green-blind)
#003BA7
Tritanopia (blue-blind)
#005369
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #1f32a9;
/* rgb */ color: rgb(31, 50, 169);
/* oklch */ color: oklch(39.4% 0.189 268.2);
Tailwind
colors: {
  custom: {
    50: '#756ac4',
    500: '#1f32a9',
    950: '#000000',
  },
}
SCSS
$custom: #1f32a9;
$custom-light: #756ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#1f32a9",
  "rgb": {
    "r": 31,
    "g": 50,
    "b": 169
  },
  "hsl": {
    "h": 231.739,
    "s": 69,
    "l": 39.216
  },
  "oklch": {
    "l": 0.39392,
    "c": 0.18895,
    "h": 268.2
  },
  "luminance": 0.05437
}

Semantic roles & 50–950 ramp

primary
#1F32A9
secondary
#C7B85D
accent
#D43CEC
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #1F32A9

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

Preview Lab → · Contrast checker → · Palette generator →

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