#1F4DA9#1F4DA9

#1F4DA9 is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.6% C 0.157 H 262.2°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#1F4DA9
RGBrgb(31, 77, 169)
HSLhsl(220, 69%, 39%)
HSVhsv(220, 82%, 66%)
CMYKcmyk(81.7%, 54.4%, 0%, 33.7%)
CIE-LABlab(34.93, 19.46, -53.76)
CIE-LCHlch(34.93, 57.17, 289.90°)
OKLaboklab(44.58% -0.0214 -0.1551)
OKLCHoklch(44.58% 0.157 262.2)
XYZxyz(10.3778, 8.4624, 38.6149)
Luminance0.0846 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4DA9 #A97B1F
analogous
#1F92A9 #1F4DA9 #361FA9
triadic
#1F4DA9 #A91F4D #4DA91F
tetradic
#1F4DA9 #A91F92 #A97B1F #1FA936
square
#1F4DA9 #A91F92 #A97B1F #1FA936
split-complementary
#1F4DA9 #A9361F #92A91F
monochromatic
#0C1E42 #163575 #1F4DA9 #2D66D8 #608CE2

Accessibility & contrast

On white

7.80
#1F4DA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#1F4DA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4DA9
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4DA9#FFFFFF#000000##FFFFFF
##1F4DA91.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AC
Deuteranopia (green-blind)
#004CA7
Tritanopia (blue-blind)
#006473
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #1f4da9;
/* rgb */ color: rgb(31, 77, 169);
/* oklch */ color: oklch(44.6% 0.157 262.2);
Tailwind
colors: {
  custom: {
    50: '#727ec3',
    500: '#1f4da9',
    950: '#000000',
  },
}
SCSS
$custom: #1f4da9;
$custom-light: #727ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4da9",
  "rgb": {
    "r": 31,
    "g": 77,
    "b": 169
  },
  "hsl": {
    "h": 220,
    "s": 69,
    "l": 39.216
  },
  "oklch": {
    "l": 0.44578,
    "c": 0.15654,
    "h": 262.2
  },
  "luminance": 0.08464
}

Semantic roles & 50–950 ramp

primary
#1F4DA9
secondary
#C7A35D
accent
#B13CEC
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#090913
muted
#7B7B82

Preview Lab

Preview with #1F4DA9

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

Preview Lab → · Contrast checker → · Palette generator →

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