#1F2083#1F2083

#1F2083 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.4% C 0.160 H 272.6°. Best body text is #FFFFFF at 13.19:1 contrast (WCAG AA passes).

Color values

HEX#1F2083
RGBrgb(31, 32, 131)
HSLhsl(239, 62%, 32%)
HSVhsv(239, 76%, 51%)
CMYKcmyk(76.3%, 75.6%, 0%, 48.6%)
CIE-LABlab(19.89, 34.82, -55.06)
CIE-LCHlch(19.89, 65.15, 302.31°)
OKLaboklab(32.42% 0.0073 -0.1593)
OKLCHoklch(32.42% 0.16 272.6)
XYZxyz(5.1769, 2.9625, 21.7673)
Luminance0.0296 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F2083 #83821F
analogous
#1F5283 #1F2083 #501F83
triadic
#1F2083 #831F20 #20831F
tetradic
#1F2083 #831F52 #83821F #1F8350
square
#1F2083 #831F52 #83821F #1F8350
split-complementary
#1F2083 #83501F #52831F
monochromatic
#080820 #131452 #1F2083 #2B2CB4 #494AD4

Accessibility & contrast

On white

13.19
#1F2083 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#1F2083 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F2083
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F2083#FFFFFF#000000##FFFFFF
##1F20831.0013.191.5913.19
#FFFFFF13.191.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003586
Deuteranopia (green-blind)
#002B81
Tritanopia (blue-blind)
#003C4F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1f2083;
/* rgb */ color: rgb(31, 32, 131);
/* oklch */ color: oklch(32.4% 0.160 272.6);
Tailwind
colors: {
  custom: {
    50: '#6c5da8',
    500: '#1f2083',
    950: '#000000',
  },
}
SCSS
$custom: #1f2083;
$custom-light: #6c5da8;
$custom-dark: #000000;
JSON
{
  "hex": "#1f2083",
  "rgb": {
    "r": 31,
    "g": 32,
    "b": 131
  },
  "hsl": {
    "h": 239.4,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.32416,
    "c": 0.1595,
    "h": 272.6
  },
  "luminance": 0.02963
}

Semantic roles & 50–950 ramp

primary
#1F2083
secondary
#B6B548
accent
#E343E5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1F2083

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

Preview Lab → · Contrast checker → · Palette generator →

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