#1F499D#1F499D

#1F499D is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.8% C 0.145 H 262.2°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#1F499D
RGBrgb(31, 73, 157)
HSLhsl(220, 67%, 37%)
HSVhsv(220, 80%, 62%)
CMYKcmyk(80.3%, 53.5%, 0%, 38.4%)
CIE-LABlab(32.90, 17.40, -49.85)
CIE-LCHlch(32.90, 52.80, 289.24°)
OKLaboklab(42.75% -0.0197 -0.1437)
OKLCHoklch(42.75% 0.145 262.2)
XYZxyz(9.0312, 7.4897, 32.8614)
Luminance0.0749 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F499D #9D731F
analogous
#1F889D #1F499D #341F9D
triadic
#1F499D #9D1F49 #499D1F
tetradic
#1F499D #9D1F88 #9D731F #1F9D34
square
#1F499D #9D1F88 #9D731F #1F9D34
split-complementary
#1F499D #9D341F #889D1F
monochromatic
#0B1937 #15316A #1F499D #2961D0 #5885DE

Accessibility & contrast

On white

8.41
#1F499D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#1F499D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F499D
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F499D#FFFFFF#000000##FFFFFF
##1F499D1.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A53A0
Deuteranopia (green-blind)
#00489B
Tritanopia (blue-blind)
#005E6C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1f499d;
/* rgb */ color: rgb(31, 73, 157);
/* oklch */ color: oklch(42.8% 0.145 262.2);
Tailwind
colors: {
  custom: {
    50: '#707bbb',
    500: '#1f499d',
    950: '#000000',
  },
}
SCSS
$custom: #1f499d;
$custom-light: #707bbb;
$custom-dark: #000000;
JSON
{
  "hex": "#1f499d",
  "rgb": {
    "r": 31,
    "g": 73,
    "b": 157
  },
  "hsl": {
    "h": 220,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.42751,
    "c": 0.145,
    "h": 262.2
  },
  "luminance": 0.07491
}

Semantic roles & 50–950 ramp

primary
#1F499D
secondary
#C29E56
accent
#B13EEA
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #1F499D

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

Preview Lab → · Contrast checker → · Palette generator →

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