#1F2C92#1F2C92

#1F2C92 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.0% C 0.166 H 269.7°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#1F2C92
RGBrgb(31, 44, 146)
HSLhsl(233, 65%, 35%)
HSVhsv(233, 79%, 57%)
CMYKcmyk(78.8%, 69.9%, 0%, 42.7%)
CIE-LABlab(24.22, 32.70, -57.30)
CIE-LCHlch(24.22, 65.98, 299.72°)
OKLaboklab(35.99% -0.0009 -0.1659)
OKLCHoklch(35.99% 0.166 269.7)
XYZxyz(6.6523, 4.1673, 27.6423)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F2C92 #92851F
analogous
#1F6692 #1F2C92 #4B1F92
triadic
#1F2C92 #921F2C #2C921F
tetradic
#1F2C92 #921F66 #92851F #1F924B
square
#1F2C92 #921F66 #92851F #1F924B
split-complementary
#1F2C92 #924B1F #66921F
monochromatic
#0A0E2D #141D60 #1F2C92 #2A3BC4 #5161DA

Accessibility & contrast

On white

11.45
#1F2C92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#1F2C92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F2C92
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F2C92#FFFFFF#000000##FFFFFF
##1F2C921.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F95
Deuteranopia (green-blind)
#003490
Tritanopia (blue-blind)
#00485B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1f2c92;
/* rgb */ color: rgb(31, 44, 146);
/* oklch */ color: oklch(36.0% 0.166 269.7);
Tailwind
colors: {
  custom: {
    50: '#6f65b3',
    500: '#1f2c92',
    950: '#000000',
  },
}
SCSS
$custom: #1f2c92;
$custom-light: #6f65b3;
$custom-dark: #000000;
JSON
{
  "hex": "#1f2c92",
  "rgb": {
    "r": 31,
    "g": 44,
    "b": 146
  },
  "hsl": {
    "h": 233.217,
    "s": 64.972,
    "l": 34.706
  },
  "oklch": {
    "l": 0.35995,
    "c": 0.16588,
    "h": 269.7
  },
  "luminance": 0.04168
}

Semantic roles & 50–950 ramp

primary
#1F2C92
secondary
#BDB150
accent
#D540E8
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #1F2C92

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

Preview Lab → · Contrast checker → · Palette generator →

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