#1F329D#1F329D

#1F329D is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.2% C 0.173 H 268.4°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#1F329D
RGBrgb(31, 50, 157)
HSLhsl(231, 67%, 37%)
HSVhsv(231, 80%, 62%)
CMYKcmyk(80.3%, 68.2%, 0%, 38.4%)
CIE-LABlab(26.75, 32.91, -59.88)
CIE-LCHlch(26.75, 68.33, 298.79°)
OKLaboklab(38.17% -0.005 -0.1734)
OKLCHoklch(38.17% 0.173 268.4)
XYZxyz(7.7894, 5.0059, 32.4475)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F329D #9D8A1F
analogous
#1F719D #1F329D #4B1F9D
triadic
#1F329D #9D1F32 #329D1F
tetradic
#1F329D #9D1F71 #9D8A1F #1F9D4B
square
#1F329D #9D1F71 #9D8A1F #1F9D4B
split-complementary
#1F329D #9D4B1F #719D1F
monochromatic
#0B1137 #15226A #1F329D #2942D0 #586CDE

Accessibility & contrast

On white

10.49
#1F329D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#1F329D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F329D
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F329D#FFFFFF#000000##FFFFFF
##1F329D1.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A0
Deuteranopia (green-blind)
#00399B
Tritanopia (blue-blind)
#004F63
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #1f329d;
/* rgb */ color: rgb(31, 50, 157);
/* oklch */ color: oklch(38.2% 0.173 268.4);
Tailwind
colors: {
  custom: {
    50: '#716abb',
    500: '#1f329d',
    950: '#000000',
  },
}
SCSS
$custom: #1f329d;
$custom-light: #716abb;
$custom-dark: #000000;
JSON
{
  "hex": "#1f329d",
  "rgb": {
    "r": 31,
    "g": 50,
    "b": 157
  },
  "hsl": {
    "h": 230.952,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.38168,
    "c": 0.17346,
    "h": 268.4
  },
  "luminance": 0.05007
}

Semantic roles & 50–950 ramp

primary
#1F329D
secondary
#C2B256
accent
#D03EEA
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #1F329D

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

Preview Lab → · Contrast checker → · Palette generator →

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