#1F3C92#1F3C92

#1F3C92 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.1% C 0.146 H 265.7°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#1F3C92
RGBrgb(31, 60, 146)
HSLhsl(225, 65%, 35%)
HSVhsv(225, 79%, 57%)
CMYKcmyk(78.8%, 58.9%, 0%, 42.7%)
CIE-LABlab(28.37, 21.92, -50.50)
CIE-LCHlch(28.37, 55.05, 293.47°)
OKLaboklab(39.06% -0.011 -0.1458)
OKLCHoklch(39.06% 0.146 265.7)
XYZxyz(7.3674, 5.5975, 27.8807)
Luminance0.0560 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F3C92 #92751F
analogous
#1F7592 #1F3C92 #3C1F92
triadic
#1F3C92 #921F3C #3C921F
tetradic
#1F3C92 #921F75 #92751F #1F923C
square
#1F3C92 #921F75 #92751F #1F923C
split-complementary
#1F3C92 #923C1F #75921F
monochromatic
#0A132D #142760 #1F3C92 #2A51C4 #5174DA

Accessibility & contrast

On white

9.91
#1F3C92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#1F3C92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F3C92
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F3C92#FFFFFF#000000##FFFFFF
##1F3C921.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004895
Deuteranopia (green-blind)
#003E90
Tritanopia (blue-blind)
#005261
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1f3c92;
/* rgb */ color: rgb(31, 60, 146);
/* oklch */ color: oklch(39.1% 0.146 265.7);
Tailwind
colors: {
  custom: {
    50: '#6e71b3',
    500: '#1f3c92',
    950: '#000000',
  },
}
SCSS
$custom: #1f3c92;
$custom-light: #6e71b3;
$custom-dark: #000000;
JSON
{
  "hex": "#1f3c92",
  "rgb": {
    "r": 31,
    "g": 60,
    "b": 146
  },
  "hsl": {
    "h": 224.87,
    "s": 64.972,
    "l": 34.706
  },
  "oklch": {
    "l": 0.39064,
    "c": 0.1462,
    "h": 265.7
  },
  "luminance": 0.05598
}

Semantic roles & 50–950 ramp

primary
#1F3C92
secondary
#BDA250
accent
#BE40E8
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #1F3C92

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

Preview Lab → · Contrast checker → · Palette generator →

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