#1F3683#1F3683

#1F3683 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.5% C 0.133 H 266.9°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#1F3683
RGBrgb(31, 54, 131)
HSLhsl(226, 62%, 32%)
HSVhsv(226, 76%, 51%)
CMYKcmyk(76.3%, 58.8%, 0%, 48.6%)
CIE-LABlab(25.47, 20.13, -45.93)
CIE-LCHlch(25.47, 50.14, 293.66°)
OKLaboklab(36.5% -0.0071 -0.1325)
OKLCHoklch(36.5% 0.133 266.9)
XYZxyz(5.9795, 4.5677, 22.0348)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F3683 #836C1F
analogous
#1F6883 #1F3683 #3A1F83
triadic
#1F3683 #831F36 #36831F
tetradic
#1F3683 #831F68 #836C1F #1F833A
square
#1F3683 #831F68 #836C1F #1F833A
split-complementary
#1F3683 #833A1F #68831F
monochromatic
#080D20 #132252 #1F3683 #2B4AB4 #4969D4

Accessibility & contrast

On white

10.97
#1F3683 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#1F3683 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F3683
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F3683#FFFFFF#000000##FFFFFF
##1F36831.0010.971.9110.97
#FFFFFF10.971.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f3683;
/* rgb */ color: rgb(31, 54, 131);
/* oklch */ color: oklch(36.5% 0.133 266.9);
Tailwind
colors: {
  custom: {
    50: '#6a6ca8',
    500: '#1f3683',
    950: '#000000',
  },
}
SCSS
$custom: #1f3683;
$custom-light: #6a6ca8;
$custom-dark: #000000;
JSON
{
  "hex": "#1f3683",
  "rgb": {
    "r": 31,
    "g": 54,
    "b": 131
  },
  "hsl": {
    "h": 226.2,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.36497,
    "c": 0.13266,
    "h": 266.9
  },
  "luminance": 0.04568
}

Semantic roles & 50–950 ramp

primary
#1F3683
secondary
#B69D48
accent
#C043E5
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #1F3683

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

Preview Lab → · Contrast checker → · Palette generator →

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