#1F3E92#1F3E92

#1F3E92 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.5% C 0.144 H 265.0°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#1F3E92
RGBrgb(31, 62, 146)
HSLhsl(224, 65%, 35%)
HSVhsv(224, 79%, 57%)
CMYKcmyk(78.8%, 57.5%, 0%, 42.7%)
CIE-LABlab(28.93, 20.55, -49.59)
CIE-LCHlch(28.93, 53.68, 292.51°)
OKLaboklab(39.48% -0.0124 -0.1431)
OKLCHoklch(39.48% 0.144 265)
XYZxyz(7.4742, 5.8110, 27.9163)
Luminance0.0581 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F3E92 #92731F
analogous
#1F7892 #1F3E92 #391F92
triadic
#1F3E92 #921F3E #3E921F
tetradic
#1F3E92 #921F78 #92731F #1F9239
square
#1F3E92 #921F78 #92731F #1F9239
split-complementary
#1F3E92 #92391F #78921F
monochromatic
#0A132D #142960 #1F3E92 #2A53C4 #5176DA

Accessibility & contrast

On white

9.71
#1F3E92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#1F3E92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F3E92
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F3E92#FFFFFF#000000##FFFFFF
##1F3E921.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A95
Deuteranopia (green-blind)
#003F90
Tritanopia (blue-blind)
#005361
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1f3e92;
/* rgb */ color: rgb(31, 62, 146);
/* oklch */ color: oklch(39.5% 0.144 265.0);
Tailwind
colors: {
  custom: {
    50: '#6d72b3',
    500: '#1f3e92',
    950: '#000000',
  },
}
SCSS
$custom: #1f3e92;
$custom-light: #6d72b3;
$custom-dark: #000000;
JSON
{
  "hex": "#1f3e92",
  "rgb": {
    "r": 31,
    "g": 62,
    "b": 146
  },
  "hsl": {
    "h": 223.826,
    "s": 64.972,
    "l": 34.706
  },
  "oklch": {
    "l": 0.39482,
    "c": 0.14364,
    "h": 265
  },
  "luminance": 0.05812
}

Semantic roles & 50–950 ramp

primary
#1F3E92
secondary
#BDA050
accent
#BB40E8
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #1F3E92

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

Preview Lab → · Contrast checker → · Palette generator →

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