#1F3192#1F3192

#1F3192 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.9% C 0.160 H 268.7°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#1F3192
RGBrgb(31, 49, 146)
HSLhsl(231, 65%, 35%)
HSVhsv(231, 79%, 57%)
CMYKcmyk(78.8%, 66.4%, 0%, 42.7%)
CIE-LABlab(25.45, 29.41, -55.27)
CIE-LCHlch(25.45, 62.61, 298.02°)
OKLaboklab(36.9% -0.0037 -0.1599)
OKLCHoklch(36.9% 0.16 268.7)
XYZxyz(6.8499, 4.5625, 27.7082)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F3192 #92801F
analogous
#1F6A92 #1F3192 #471F92
triadic
#1F3192 #921F31 #31921F
tetradic
#1F3192 #921F6A #92801F #1F9247
square
#1F3192 #921F6A #92801F #1F9247
split-complementary
#1F3192 #92471F #6A921F
monochromatic
#0A0F2D #142060 #1F3192 #2A42C4 #5167DA

Accessibility & contrast

On white

10.98
#1F3192 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#1F3192 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F3192
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F3192#FFFFFF#000000##FFFFFF
##1F31921.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004295
Deuteranopia (green-blind)
#003790
Tritanopia (blue-blind)
#004B5D
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1f3192;
/* rgb */ color: rgb(31, 49, 146);
/* oklch */ color: oklch(36.9% 0.160 268.7);
Tailwind
colors: {
  custom: {
    50: '#6f69b3',
    500: '#1f3192',
    950: '#000000',
  },
}
SCSS
$custom: #1f3192;
$custom-light: #6f69b3;
$custom-dark: #000000;
JSON
{
  "hex": "#1f3192",
  "rgb": {
    "r": 31,
    "g": 49,
    "b": 146
  },
  "hsl": {
    "h": 230.609,
    "s": 64.972,
    "l": 34.706
  },
  "oklch": {
    "l": 0.36895,
    "c": 0.15998,
    "h": 268.7
  },
  "luminance": 0.04563
}

Semantic roles & 50–950 ramp

primary
#1F3192
secondary
#BDAC50
accent
#CE40E8
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80

Preview Lab

Preview with #1F3192

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

Preview Lab → · Contrast checker → · Palette generator →

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