#1F4599#1F4599

#1F4599 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.6% C 0.144 H 263.2°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#1F4599
RGBrgb(31, 69, 153)
HSLhsl(221, 66%, 36%)
HSVhsv(221, 80%, 60%)
CMYKcmyk(79.7%, 54.9%, 0%, 40%)
CIE-LABlab(31.45, 18.53, -49.76)
CIE-LCHlch(31.45, 53.10, 290.42°)
OKLaboklab(41.56% -0.0171 -0.1435)
OKLCHoklch(41.56% 0.145 263.2)
XYZxyz(8.4409, 6.8465, 31.0074)
Luminance0.0685 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4599 #99731F
analogous
#1F8299 #1F4599 #361F99
triadic
#1F4599 #991F45 #45991F
tetradic
#1F4599 #991F82 #99731F #1F9936
square
#1F4599 #991F82 #99731F #1F9936
split-complementary
#1F4599 #99361F #82991F
monochromatic
#0A1733 #152E66 #1F4599 #295CCC #5680DD

Accessibility & contrast

On white

8.86
#1F4599 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#1F4599 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4599
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4599#FFFFFF#000000##FFFFFF
##1F45991.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509C
Deuteranopia (green-blind)
#004597
Tritanopia (blue-blind)
#005A68
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #1f4599;
/* rgb */ color: rgb(31, 69, 153);
/* oklch */ color: oklch(41.6% 0.144 263.2);
Tailwind
colors: {
  custom: {
    50: '#6f78b8',
    500: '#1f4599',
    950: '#000000',
  },
}
SCSS
$custom: #1f4599;
$custom-light: #6f78b8;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4599",
  "rgb": {
    "r": 31,
    "g": 69,
    "b": 153
  },
  "hsl": {
    "h": 221.311,
    "s": 66.304,
    "l": 36.078
  },
  "oklch": {
    "l": 0.41561,
    "c": 0.1445,
    "h": 263.2
  },
  "luminance": 0.06847
}

Semantic roles & 50–950 ramp

primary
#1F4599
secondary
#C09E54
accent
#B43FE9
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #1F4599

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

Preview Lab → · Contrast checker → · Palette generator →

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