#1F4892#1F4892

#1F4892 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 41.7% C 0.131 H 261.1°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#1F4892
RGBrgb(31, 72, 146)
HSLhsl(219, 65%, 35%)
HSVhsv(219, 79%, 57%)
CMYKcmyk(78.8%, 50.7%, 0%, 42.7%)
CIE-LABlab(31.81, 13.68, -44.93)
CIE-LCHlch(31.81, 46.97, 286.94°)
OKLaboklab(41.67% -0.0203 -0.1292)
OKLCHoklch(41.67% 0.131 261.1)
XYZxyz(8.0689, 7.0004, 28.1145)
Luminance0.0700 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4892 #92691F
analogous
#1F8292 #1F4892 #301F92
triadic
#1F4892 #921F48 #48921F
tetradic
#1F4892 #921F82 #92691F #1F9230
square
#1F4892 #921F82 #92691F #1F9230
split-complementary
#1F4892 #92301F #82921F
monochromatic
#0A162D #142F60 #1F4892 #2A61C4 #5182DA

Accessibility & contrast

On white

8.75
#1F4892 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#1F4892 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4892
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4892#FFFFFF#000000##FFFFFF
##1F48921.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C5095
Deuteranopia (green-blind)
#004691
Tritanopia (blue-blind)
#005A66
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #1f4892;
/* rgb */ color: rgb(31, 72, 146);
/* oklch */ color: oklch(41.7% 0.131 261.1);
Tailwind
colors: {
  custom: {
    50: '#6d7ab2',
    500: '#1f4892',
    950: '#000000',
  },
}
SCSS
$custom: #1f4892;
$custom-light: #6d7ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4892",
  "rgb": {
    "r": 31,
    "g": 72,
    "b": 146
  },
  "hsl": {
    "h": 218.609,
    "s": 64.972,
    "l": 34.706
  },
  "oklch": {
    "l": 0.41666,
    "c": 0.13079,
    "h": 261.1
  },
  "luminance": 0.07001
}

Semantic roles & 50–950 ramp

primary
#1F4892
secondary
#BD9650
accent
#AC40E8
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1F4892

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

Preview Lab → · Contrast checker → · Palette generator →

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