#1F1992#1F1992

#1F1992 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.2% C 0.185 H 272.1°. Best body text is #FFFFFF at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#1F1992
RGBrgb(31, 25, 146)
HSLhsl(243, 71%, 34%)
HSVhsv(243, 83%, 57%)
CMYKcmyk(78.8%, 82.9%, 0%, 42.7%)
CIE-LABlab(20.29, 43.77, -63.79)
CIE-LCHlch(20.29, 77.36, 304.45°)
OKLaboklab(33.2% 0.0068 -0.1846)
OKLCHoklch(33.2% 0.185 272.1)
XYZxyz(6.0993, 3.0612, 27.4580)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F1992 #8C9219
analogous
#194F92 #1F1992 #5B1992
triadic
#1F1992 #921F19 #19921F
tetradic
#1F1992 #92194F #8C9219 #19925B
square
#1F1992 #92194F #8C9219 #19925B
split-complementary
#1F1992 #925B19 #4F9219
monochromatic
#090729 #14105E #1F1992 #2A22C6 #4E46DF

Accessibility & contrast

On white

13.02
#1F1992 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F1992
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F1992#FFFFFF#000000##FFFFFF
##1F19921.0013.021.6113.02
#FFFFFF13.021.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003795
Deuteranopia (green-blind)
#002B90
Tritanopia (blue-blind)
#003F56
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1f1992;
/* rgb */ color: rgb(31, 25, 146);
/* oklch */ color: oklch(33.2% 0.185 272.1);
Tailwind
colors: {
  custom: {
    50: '#7159b3',
    500: '#1f1992',
    950: '#000000',
  },
}
SCSS
$custom: #1f1992;
$custom-light: #7159b3;
$custom-dark: #000000;
JSON
{
  "hex": "#1f1992",
  "rgb": {
    "r": 31,
    "g": 25,
    "b": 146
  },
  "hsl": {
    "h": 242.975,
    "s": 70.76,
    "l": 33.529
  },
  "oklch": {
    "l": 0.33204,
    "c": 0.18473,
    "h": 272.1
  },
  "luminance": 0.03062
}

Semantic roles & 50–950 ramp

primary
#1F1992
secondary
#BBC146
accent
#EE3AE5
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #1F1992

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

Preview Lab → · Contrast checker → · Palette generator →

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