#1F3583#1F3583

#1F3583 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.3% C 0.134 H 267.3°. Best body text is #FFFFFF at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#1F3583
RGBrgb(31, 53, 131)
HSLhsl(227, 62%, 32%)
HSVhsv(227, 76%, 51%)
CMYKcmyk(76.3%, 59.5%, 0%, 48.6%)
CIE-LABlab(25.19, 20.83, -46.38)
CIE-LCHlch(25.19, 50.85, 294.18°)
OKLaboklab(36.29% -0.0063 -0.1338)
OKLCHoklch(36.29% 0.134 267.3)
XYZxyz(5.9335, 4.4756, 22.0195)
Luminance0.0448 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F3583 #836D1F
analogous
#1F6783 #1F3583 #3B1F83
triadic
#1F3583 #831F35 #35831F
tetradic
#1F3583 #831F67 #836D1F #1F833B
square
#1F3583 #831F67 #836D1F #1F833B
split-complementary
#1F3583 #833B1F #67831F
monochromatic
#080D20 #132152 #1F3583 #2B49B4 #4967D4

Accessibility & contrast

On white

11.08
#1F3583 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#1F3583 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F3583
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F3583#FFFFFF#000000##FFFFFF
##1F35831.0011.081.9011.08
#FFFFFF11.081.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004186
Deuteranopia (green-blind)
#003781
Tritanopia (blue-blind)
#004856
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1f3583;
/* rgb */ color: rgb(31, 53, 131);
/* oklch */ color: oklch(36.3% 0.134 267.3);
Tailwind
colors: {
  custom: {
    50: '#6a6ba8',
    500: '#1f3583',
    950: '#000000',
  },
}
SCSS
$custom: #1f3583;
$custom-light: #6a6ba8;
$custom-dark: #000000;
JSON
{
  "hex": "#1f3583",
  "rgb": {
    "r": 31,
    "g": 53,
    "b": 131
  },
  "hsl": {
    "h": 226.8,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.36287,
    "c": 0.13398,
    "h": 267.3
  },
  "luminance": 0.04476
}

Semantic roles & 50–950 ramp

primary
#1F3583
secondary
#B69E48
accent
#C143E5
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070610
muted
#7A7A7F

Preview Lab

Preview with #1F3583

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

Preview Lab → · Contrast checker → · Palette generator →

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