#1F3092#1F3092

#1F3092 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.7% C 0.161 H 268.9°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#1F3092
RGBrgb(31, 48, 146)
HSLhsl(231, 65%, 35%)
HSVhsv(231, 79%, 57%)
CMYKcmyk(78.8%, 67.1%, 0%, 42.7%)
CIE-LABlab(25.20, 30.08, -55.69)
CIE-LCHlch(25.20, 63.29, 298.37°)
OKLaboklab(36.71% -0.0032 -0.1611)
OKLCHoklch(36.71% 0.161 268.9)
XYZxyz(6.8085, 4.4798, 27.6944)
Luminance0.0448 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F3092 #92811F
analogous
#1F6A92 #1F3092 #471F92
triadic
#1F3092 #921F30 #30921F
tetradic
#1F3092 #921F6A #92811F #1F9247
square
#1F3092 #921F6A #92811F #1F9247
split-complementary
#1F3092 #92471F #6A921F
monochromatic
#0A0F2D #141F60 #1F3092 #2A41C4 #5166DA

Accessibility & contrast

On white

11.07
#1F3092 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#1F3092 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F3092
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F3092#FFFFFF#000000##FFFFFF
##1F30921.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004195
Deuteranopia (green-blind)
#003690
Tritanopia (blue-blind)
#004A5C
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1f3092;
/* rgb */ color: rgb(31, 48, 146);
/* oklch */ color: oklch(36.7% 0.161 268.9);
Tailwind
colors: {
  custom: {
    50: '#6f68b3',
    500: '#1f3092',
    950: '#000000',
  },
}
SCSS
$custom: #1f3092;
$custom-light: #6f68b3;
$custom-dark: #000000;
JSON
{
  "hex": "#1f3092",
  "rgb": {
    "r": 31,
    "g": 48,
    "b": 146
  },
  "hsl": {
    "h": 231.13,
    "s": 64.972,
    "l": 34.706
  },
  "oklch": {
    "l": 0.3671,
    "c": 0.16118,
    "h": 268.9
  },
  "luminance": 0.04481
}

Semantic roles & 50–950 ramp

primary
#1F3092
secondary
#BDAD50
accent
#CF40E8
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #1F3092

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

Preview Lab → · Contrast checker → · Palette generator →

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