#1F499A#1F499A

#1F499A is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.5% C 0.141 H 261.8°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#1F499A
RGBrgb(31, 73, 154)
HSLhsl(220, 66%, 36%)
HSVhsv(220, 80%, 60%)
CMYKcmyk(79.9%, 52.6%, 0%, 39.6%)
CIE-LABlab(32.68, 16.20, -48.39)
CIE-LCHlch(32.68, 51.03, 288.51°)
OKLaboklab(42.51% -0.02 -0.1394)
OKLCHoklch(42.51% 0.141 261.8)
XYZxyz(8.7783, 7.3885, 31.5291)
Luminance0.0739 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F499A #9A701F
analogous
#1F879A #1F499A #331F9A
triadic
#1F499A #9A1F49 #499A1F
tetradic
#1F499A #9A1F87 #9A701F #1F9A33
square
#1F499A #9A1F87 #9A701F #1F9A33
split-complementary
#1F499A #9A331F #879A1F
monochromatic
#0A1934 #153167 #1F499A #2961CD #5684DD

Accessibility & contrast

On white

8.48
#1F499A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F499A
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F499A#FFFFFF#000000##FFFFFF
##1F499A1.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12539D
Deuteranopia (green-blind)
#004898
Tritanopia (blue-blind)
#005D6A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #1f499a;
/* rgb */ color: rgb(31, 73, 154);
/* oklch */ color: oklch(42.5% 0.141 261.8);
Tailwind
colors: {
  custom: {
    50: '#6f7bb8',
    500: '#1f499a',
    950: '#000000',
  },
}
SCSS
$custom: #1f499a;
$custom-light: #6f7bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#1f499a",
  "rgb": {
    "r": 31,
    "g": 73,
    "b": 154
  },
  "hsl": {
    "h": 219.512,
    "s": 66.486,
    "l": 36.275
  },
  "oklch": {
    "l": 0.42512,
    "c": 0.1408,
    "h": 261.8
  },
  "luminance": 0.07389
}

Semantic roles & 50–950 ramp

primary
#1F499A
secondary
#C19C54
accent
#AF3EE9
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1F499A

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

Preview Lab → · Contrast checker → · Palette generator →

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