#1F2085#1F2085

#1F2085 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.6% C 0.162 H 272.5°. Best body text is #FFFFFF at 13.10:1 contrast (WCAG AA passes).

Color values

HEX#1F2085
RGBrgb(31, 32, 133)
HSLhsl(239, 62%, 32%)
HSVhsv(239, 77%, 52%)
CMYKcmyk(76.7%, 75.9%, 0%, 47.8%)
CIE-LABlab(20.11, 35.53, -55.96)
CIE-LCHlch(20.11, 66.28, 302.41°)
OKLaboklab(32.64% 0.007 -0.1619)
OKLCHoklch(32.64% 0.162 272.5)
XYZxyz(5.3138, 3.0172, 22.4881)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F2085 #85841F
analogous
#1F5385 #1F2085 #511F85
triadic
#1F2085 #851F20 #20851F
tetradic
#1F2085 #851F53 #85841F #1F8551
square
#1F2085 #851F53 #85841F #1F8551
split-complementary
#1F2085 #85511F #53851F
monochromatic
#080822 #131453 #1F2085 #2B2CB7 #4A4BD5

Accessibility & contrast

On white

13.10
#1F2085 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#1F2085 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F2085
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F2085#FFFFFF#000000##FFFFFF
##1F20851.0013.101.6013.10
#FFFFFF13.101.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003588
Deuteranopia (green-blind)
#002C83
Tritanopia (blue-blind)
#003D51
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1f2085;
/* rgb */ color: rgb(31, 32, 133);
/* oklch */ color: oklch(32.6% 0.162 272.5);
Tailwind
colors: {
  custom: {
    50: '#6d5daa',
    500: '#1f2085',
    950: '#000000',
  },
}
SCSS
$custom: #1f2085;
$custom-light: #6d5daa;
$custom-dark: #000000;
JSON
{
  "hex": "#1f2085",
  "rgb": {
    "r": 31,
    "g": 32,
    "b": 133
  },
  "hsl": {
    "h": 239.412,
    "s": 62.195,
    "l": 32.157
  },
  "oklch": {
    "l": 0.32637,
    "c": 0.16209,
    "h": 272.5
  },
  "luminance": 0.03018
}

Semantic roles & 50–950 ramp

primary
#1F2085
secondary
#B7B649
accent
#E443E5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1F2085

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

Preview Lab → · Contrast checker → · Palette generator →

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