#1F32B4#1F32B4

#1F32B4 is a dark, highly saturated blue. Relative luminance 0.059; OKLCH L 40.5% C 0.203 H 268.0°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#1F32B4
RGBrgb(31, 50, 180)
HSLhsl(232, 71%, 41%)
HSVhsv(232, 83%, 71%)
CMYKcmyk(82.8%, 72.2%, 0%, 29.4%)
CIE-LABlab(29.07, 41.30, -69.90)
CIE-LCHlch(29.07, 81.19, 300.57°)
OKLaboklab(40.54% -0.0071 -0.2026)
OKLCHoklch(40.54% 0.203 268)
XYZxyz(9.9410, 5.8666, 43.7796)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F32B4 #B4A11F
analogous
#1F7DB4 #1F32B4 #571FB4
triadic
#1F32B4 #B41F32 #32B41F
tetradic
#1F32B4 #B41F7D #B4A11F #1FB457
square
#1F32B4 #B41F7D #B4A11F #1FB457
split-complementary
#1F32B4 #B4571F #7DB41F
monochromatic
#0D154C #162380 #1F32B4 #344ADC #6878E5

Accessibility & contrast

On white

9.66
#1F32B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#1F32B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F32B4
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F32B4#FFFFFF#000000##FFFFFF
##1F32B41.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB8
Deuteranopia (green-blind)
#003DB2
Tritanopia (blue-blind)
#005770
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1f32b4;
/* rgb */ color: rgb(31, 50, 180);
/* oklch */ color: oklch(40.5% 0.203 268.0);
Tailwind
colors: {
  custom: {
    50: '#776bcc',
    500: '#1f32b4',
    950: '#000000',
  },
}
SCSS
$custom: #1f32b4;
$custom-light: #776bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#1f32b4",
  "rgb": {
    "r": 31,
    "g": 50,
    "b": 180
  },
  "hsl": {
    "h": 232.349,
    "s": 70.616,
    "l": 41.373
  },
  "oklch": {
    "l": 0.40545,
    "c": 0.20272,
    "h": 268
  },
  "luminance": 0.05868
}

Semantic roles & 50–950 ramp

primary
#1F32B4
secondary
#CBBE64
accent
#D73AED
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0614
muted
#7C7A82

Preview Lab

Preview with #1F32B4

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

Preview Lab → · Contrast checker → · Palette generator →

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