#1F4499#1F4499

#1F4499 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.3% C 0.146 H 263.6°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#1F4499
RGBrgb(31, 68, 153)
HSLhsl(222, 66%, 36%)
HSVhsv(222, 80%, 60%)
CMYKcmyk(79.7%, 55.6%, 0%, 40%)
CIE-LABlab(31.17, 19.21, -50.22)
CIE-LCHlch(31.17, 53.77, 290.93°)
OKLaboklab(41.35% -0.0164 -0.1448)
OKLCHoklch(41.35% 0.146 263.6)
XYZxyz(8.3799, 6.7245, 30.9871)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4499 #99741F
analogous
#1F8199 #1F4499 #371F99
triadic
#1F4499 #991F44 #44991F
tetradic
#1F4499 #991F81 #99741F #1F9937
square
#1F4499 #991F81 #99741F #1F9937
split-complementary
#1F4499 #99371F #81991F
monochromatic
#0A1733 #152D66 #1F4499 #295BCC #567FDD

Accessibility & contrast

On white

8.96
#1F4499 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#1F4499 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4499
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4499#FFFFFF#000000##FFFFFF
##1F44991.008.962.358.96
#FFFFFF8.961.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9C
Deuteranopia (green-blind)
#004497
Tritanopia (blue-blind)
#005967
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #1f4499;
/* rgb */ color: rgb(31, 68, 153);
/* oklch */ color: oklch(41.3% 0.146 263.6);
Tailwind
colors: {
  custom: {
    50: '#6f77b8',
    500: '#1f4499',
    950: '#000000',
  },
}
SCSS
$custom: #1f4499;
$custom-light: #6f77b8;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4499",
  "rgb": {
    "r": 31,
    "g": 68,
    "b": 153
  },
  "hsl": {
    "h": 221.803,
    "s": 66.304,
    "l": 36.078
  },
  "oklch": {
    "l": 0.41346,
    "c": 0.14577,
    "h": 263.6
  },
  "luminance": 0.06725
}

Semantic roles & 50–950 ramp

primary
#1F4499
secondary
#C09F54
accent
#B53FE9
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #1F4499

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

Preview Lab → · Contrast checker → · Palette generator →

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