#1F4CA9#1F4CA9

#1F4CA9 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.4% C 0.158 H 262.5°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#1F4CA9
RGBrgb(31, 76, 169)
HSLhsl(220, 69%, 39%)
HSVhsv(220, 82%, 66%)
CMYKcmyk(81.7%, 55%, 0%, 33.7%)
CIE-LABlab(34.65, 20.14, -54.21)
CIE-LCHlch(34.65, 57.83, 290.38°)
OKLaboklab(44.37% -0.0207 -0.1564)
OKLCHoklch(44.37% 0.158 262.5)
XYZxyz(10.3084, 8.3235, 38.5917)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4CA9 #A97C1F
analogous
#1F91A9 #1F4CA9 #371FA9
triadic
#1F4CA9 #A91F4C #4CA91F
tetradic
#1F4CA9 #A91F91 #A97C1F #1FA937
square
#1F4CA9 #A91F91 #A97C1F #1FA937
split-complementary
#1F4CA9 #A9371F #91A91F
monochromatic
#0C1D42 #163575 #1F4CA9 #2D65D8 #608BE2

Accessibility & contrast

On white

7.88
#1F4CA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#1F4CA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4CA9
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4CA9#FFFFFF#000000##FFFFFF
##1F4CA91.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AC
Deuteranopia (green-blind)
#004BA7
Tritanopia (blue-blind)
#006373
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #1f4ca9;
/* rgb */ color: rgb(31, 76, 169);
/* oklch */ color: oklch(44.4% 0.158 262.5);
Tailwind
colors: {
  custom: {
    50: '#727dc3',
    500: '#1f4ca9',
    950: '#000000',
  },
}
SCSS
$custom: #1f4ca9;
$custom-light: #727dc3;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4ca9",
  "rgb": {
    "r": 31,
    "g": 76,
    "b": 169
  },
  "hsl": {
    "h": 220.435,
    "s": 69,
    "l": 39.216
  },
  "oklch": {
    "l": 0.44365,
    "c": 0.1578,
    "h": 262.5
  },
  "luminance": 0.08325
}

Semantic roles & 50–950 ramp

primary
#1F4CA9
secondary
#C7A45D
accent
#B23CEC
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#090913
muted
#7B7B82

Preview Lab

Preview with #1F4CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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