#1F2192#1F2192

#1F2192 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.2% C 0.178 H 271.3°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#1F2192
RGBrgb(31, 33, 146)
HSLhsl(239, 65%, 35%)
HSVhsv(239, 79%, 57%)
CMYKcmyk(78.8%, 77.4%, 0%, 42.7%)
CIE-LABlab(21.78, 39.47, -61.33)
CIE-LCHlch(21.78, 72.93, 302.77°)
OKLaboklab(34.25% 0.0041 -0.1776)
OKLCHoklch(34.25% 0.178 271.3)
XYZxyz(6.2955, 3.4537, 27.5234)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F2192 #92901F
analogous
#1F5A92 #1F2192 #571F92
triadic
#1F2192 #921F21 #21921F
tetradic
#1F2192 #921F5A #92901F #1F9257
square
#1F2192 #921F5A #92901F #1F9257
split-complementary
#1F2192 #92571F #5A921F
monochromatic
#0A0A2D #141660 #1F2192 #2A2CC4 #5154DA

Accessibility & contrast

On white

12.42
#1F2192 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#1F2192 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F2192
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F2192#FFFFFF#000000##FFFFFF
##1F21921.0012.421.6912.42
#FFFFFF12.421.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A95
Deuteranopia (green-blind)
#002E90
Tritanopia (blue-blind)
#004358
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1f2192;
/* rgb */ color: rgb(31, 33, 146);
/* oklch */ color: oklch(34.2% 0.178 271.3);
Tailwind
colors: {
  custom: {
    50: '#705eb3',
    500: '#1f2192',
    950: '#000000',
  },
}
SCSS
$custom: #1f2192;
$custom-light: #705eb3;
$custom-dark: #000000;
JSON
{
  "hex": "#1f2192",
  "rgb": {
    "r": 31,
    "g": 33,
    "b": 146
  },
  "hsl": {
    "h": 238.957,
    "s": 64.972,
    "l": 34.706
  },
  "oklch": {
    "l": 0.34247,
    "c": 0.17761,
    "h": 271.3
  },
  "luminance": 0.03454
}

Semantic roles & 50–950 ramp

primary
#1F2192
secondary
#BDBB50
accent
#E540E8
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #1F2192

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

Preview Lab → · Contrast checker → · Palette generator →

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