#1F4099#1F4099

#1F4099 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.5% C 0.151 H 264.9°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#1F4099
RGBrgb(31, 64, 153)
HSLhsl(224, 66%, 36%)
HSVhsv(224, 80%, 60%)
CMYKcmyk(79.7%, 58.2%, 0%, 40%)
CIE-LABlab(30.05, 21.95, -52.04)
CIE-LCHlch(30.05, 56.48, 292.87°)
OKLaboklab(40.5% -0.0135 -0.1503)
OKLCHoklch(40.5% 0.151 264.9)
XYZxyz(8.1462, 6.2571, 30.9092)
Luminance0.0626 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4099 #99781F
analogous
#1F7D99 #1F4099 #3B1F99
triadic
#1F4099 #991F40 #40991F
tetradic
#1F4099 #991F7D #99781F #1F993B
square
#1F4099 #991F7D #99781F #1F993B
split-complementary
#1F4099 #993B1F #7D991F
monochromatic
#0A1533 #152B66 #1F4099 #2955CC #567ADD

Accessibility & contrast

On white

9.33
#1F4099 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#1F4099 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4099
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4099#FFFFFF#000000##FFFFFF
##1F40991.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9C
Deuteranopia (green-blind)
#004197
Tritanopia (blue-blind)
#005666
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1f4099;
/* rgb */ color: rgb(31, 64, 153);
/* oklch */ color: oklch(40.5% 0.151 264.9);
Tailwind
colors: {
  custom: {
    50: '#6f74b8',
    500: '#1f4099',
    950: '#000000',
  },
}
SCSS
$custom: #1f4099;
$custom-light: #6f74b8;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4099",
  "rgb": {
    "r": 31,
    "g": 64,
    "b": 153
  },
  "hsl": {
    "h": 223.77,
    "s": 66.304,
    "l": 36.078
  },
  "oklch": {
    "l": 0.40502,
    "c": 0.15087,
    "h": 264.9
  },
  "luminance": 0.06258
}

Semantic roles & 50–950 ramp

primary
#1F4099
secondary
#C0A354
accent
#BB3FE9
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #1F4099

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

Preview Lab → · Contrast checker → · Palette generator →

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