#1F4E92#1F4E92

#1F4E92 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.0% C 0.123 H 258.1°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#1F4E92
RGBrgb(31, 78, 146)
HSLhsl(215, 65%, 35%)
HSVhsv(215, 79%, 57%)
CMYKcmyk(78.8%, 46.6%, 0%, 42.7%)
CIE-LABlab(33.59, 9.62, -42.05)
CIE-LCHlch(33.59, 43.14, 282.88°)
OKLaboklab(43.04% -0.0254 -0.1206)
OKLCHoklch(43.04% 0.123 258.1)
XYZxyz(8.4759, 7.8144, 28.2502)
Luminance0.0781 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4E92 #92631F
analogous
#1F8892 #1F4E92 #291F92
triadic
#1F4E92 #921F4E #4E921F
tetradic
#1F4E92 #921F88 #92631F #1F9229
square
#1F4E92 #921F88 #92631F #1F9229
split-complementary
#1F4E92 #92291F #88921F
monochromatic
#0A182D #143360 #1F4E92 #2A69C4 #5189DA

Accessibility & contrast

On white

8.19
#1F4E92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#1F4E92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4E92
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4E92#FFFFFF#000000##FFFFFF
##1F4E921.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5595
Deuteranopia (green-blind)
#104A91
Tritanopia (blue-blind)
#005E69
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1f4e92;
/* rgb */ color: rgb(31, 78, 146);
/* oklch */ color: oklch(43.0% 0.123 258.1);
Tailwind
colors: {
  custom: {
    50: '#6d7fb2',
    500: '#1f4e92',
    950: '#000000',
  },
}
SCSS
$custom: #1f4e92;
$custom-light: #6d7fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4e92",
  "rgb": {
    "r": 31,
    "g": 78,
    "b": 146
  },
  "hsl": {
    "h": 215.478,
    "s": 64.972,
    "l": 34.706
  },
  "oklch": {
    "l": 0.43039,
    "c": 0.12327,
    "h": 258.1
  },
  "luminance": 0.07815
}

Semantic roles & 50–950 ramp

primary
#1F4E92
secondary
#BD9050
accent
#A340E8
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #1F4E92

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

Preview Lab → · Contrast checker → · Palette generator →

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