#1F2092#1F2092

#1F2092 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.1% C 0.179 H 271.4°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#1F2092
RGBrgb(31, 32, 146)
HSLhsl(239, 65%, 35%)
HSVhsv(239, 79%, 57%)
CMYKcmyk(78.8%, 78.1%, 0%, 42.7%)
CIE-LABlab(21.58, 40.04, -61.66)
CIE-LCHlch(21.58, 73.52, 303.00°)
OKLaboklab(34.11% 0.0045 -0.1785)
OKLCHoklch(34.11% 0.179 271.4)
XYZxyz(6.2681, 3.3990, 27.5143)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F2092 #92911F
analogous
#1F5A92 #1F2092 #571F92
triadic
#1F2092 #921F20 #20921F
tetradic
#1F2092 #921F5A #92911F #1F9257
square
#1F2092 #921F5A #92911F #1F9257
split-complementary
#1F2092 #92571F #5A921F
monochromatic
#0A0A2D #141560 #1F2092 #2A2BC4 #5152DA

Accessibility & contrast

On white

12.50
#1F2092 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#1F2092 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F2092
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F2092#FFFFFF#000000##FFFFFF
##1F20921.0012.501.6812.50
#FFFFFF12.501.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003995
Deuteranopia (green-blind)
#002E90
Tritanopia (blue-blind)
#004258
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1f2092;
/* rgb */ color: rgb(31, 32, 146);
/* oklch */ color: oklch(34.1% 0.179 271.4);
Tailwind
colors: {
  custom: {
    50: '#705db3',
    500: '#1f2092',
    950: '#000000',
  },
}
SCSS
$custom: #1f2092;
$custom-light: #705db3;
$custom-dark: #000000;
JSON
{
  "hex": "#1f2092",
  "rgb": {
    "r": 31,
    "g": 32,
    "b": 146
  },
  "hsl": {
    "h": 239.478,
    "s": 64.972,
    "l": 34.706
  },
  "oklch": {
    "l": 0.34105,
    "c": 0.17857,
    "h": 271.4
  },
  "luminance": 0.034
}

Semantic roles & 50–950 ramp

primary
#1F2092
secondary
#BDBC50
accent
#E640E8
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #1F2092

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

Preview Lab → · Contrast checker → · Palette generator →

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