#1F499B#1F499B

#1F499B is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.6% C 0.142 H 261.9°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#1F499B
RGBrgb(31, 73, 155)
HSLhsl(220, 67%, 36%)
HSVhsv(220, 80%, 61%)
CMYKcmyk(80%, 52.9%, 0%, 39.2%)
CIE-LABlab(32.75, 16.60, -48.88)
CIE-LCHlch(32.75, 51.62, 288.76°)
OKLaboklab(42.59% -0.0199 -0.1408)
OKLCHoklch(42.59% 0.142 261.9)
XYZxyz(8.8619, 7.4219, 31.9695)
Luminance0.0742 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F499B #9B711F
analogous
#1F879B #1F499B #331F9B
triadic
#1F499B #9B1F49 #499B1F
tetradic
#1F499B #9B1F87 #9B711F #1F9B33
square
#1F499B #9B1F87 #9B711F #1F9B33
split-complementary
#1F499B #9B331F #879B1F
monochromatic
#0B1935 #153168 #1F499B #2961CE #5785DD

Accessibility & contrast

On white

8.45
#1F499B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#1F499B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F499B
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F499B#FFFFFF#000000##FFFFFF
##1F499B1.008.452.488.45
#FFFFFF8.451.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10539E
Deuteranopia (green-blind)
#004899
Tritanopia (blue-blind)
#005D6B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1f499b;
/* rgb */ color: rgb(31, 73, 155);
/* oklch */ color: oklch(42.6% 0.142 261.9);
Tailwind
colors: {
  custom: {
    50: '#6f7bb9',
    500: '#1f499b',
    950: '#000000',
  },
}
SCSS
$custom: #1f499b;
$custom-light: #6f7bb9;
$custom-dark: #000000;
JSON
{
  "hex": "#1f499b",
  "rgb": {
    "r": 31,
    "g": 73,
    "b": 155
  },
  "hsl": {
    "h": 219.677,
    "s": 66.667,
    "l": 36.471
  },
  "oklch": {
    "l": 0.42591,
    "c": 0.14221,
    "h": 261.9
  },
  "luminance": 0.07423
}

Semantic roles & 50–950 ramp

primary
#1F499B
secondary
#C19C55
accent
#B03EEA
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #1F499B

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

Preview Lab → · Contrast checker → · Palette generator →

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