#1F2086#1F2086

#1F2086 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.7% C 0.163 H 272.4°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#1F2086
RGBrgb(31, 32, 134)
HSLhsl(239, 62%, 32%)
HSVhsv(239, 77%, 53%)
CMYKcmyk(76.9%, 76.1%, 0%, 47.5%)
CIE-LABlab(20.22, 35.88, -56.40)
CIE-LCHlch(20.22, 66.85, 302.46°)
OKLaboklab(32.75% 0.0068 -0.1632)
OKLCHoklch(32.75% 0.163 272.4)
XYZxyz(5.3832, 3.0450, 22.8537)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F2086 #86851F
analogous
#1F5486 #1F2086 #511F86
triadic
#1F2086 #861F20 #20861F
tetradic
#1F2086 #861F54 #86851F #1F8651
square
#1F2086 #861F54 #86851F #1F8651
split-complementary
#1F2086 #86511F #54861F
monochromatic
#080823 #141454 #1F2086 #2A2CB8 #4A4CD5

Accessibility & contrast

On white

13.05
#1F2086 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#1F2086 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F2086
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F2086#FFFFFF#000000##FFFFFF
##1F20861.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003689
Deuteranopia (green-blind)
#002C84
Tritanopia (blue-blind)
#003E51
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1f2086;
/* rgb */ color: rgb(31, 32, 134);
/* oklch */ color: oklch(32.7% 0.163 272.4);
Tailwind
colors: {
  custom: {
    50: '#6d5daa',
    500: '#1f2086',
    950: '#000000',
  },
}
SCSS
$custom: #1f2086;
$custom-light: #6d5daa;
$custom-dark: #000000;
JSON
{
  "hex": "#1f2086",
  "rgb": {
    "r": 31,
    "g": 32,
    "b": 134
  },
  "hsl": {
    "h": 239.417,
    "s": 62.424,
    "l": 32.353
  },
  "oklch": {
    "l": 0.32749,
    "c": 0.16338,
    "h": 272.4
  },
  "luminance": 0.03046
}

Semantic roles & 50–950 ramp

primary
#1F2086
secondary
#B8B749
accent
#E442E5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1F2086

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

Preview Lab → · Contrast checker → · Palette generator →

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