#1F459A#1F459A

#1F459A is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.6% C 0.146 H 263.3°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#1F459A
RGBrgb(31, 69, 154)
HSLhsl(221, 66%, 36%)
HSVhsv(221, 80%, 60%)
CMYKcmyk(79.9%, 55.2%, 0%, 39.6%)
CIE-LABlab(31.53, 18.93, -50.25)
CIE-LCHlch(31.53, 53.69, 290.64°)
OKLaboklab(41.64% -0.017 -0.1449)
OKLCHoklch(41.64% 0.146 263.3)
XYZxyz(8.5238, 6.8797, 31.4442)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F459A #9A741F
analogous
#1F839A #1F459A #371F9A
triadic
#1F459A #9A1F45 #459A1F
tetradic
#1F459A #9A1F83 #9A741F #1F9A37
square
#1F459A #9A1F83 #9A741F #1F9A37
split-complementary
#1F459A #9A371F #839A1F
monochromatic
#0A1734 #152E67 #1F459A #295CCD #5680DD

Accessibility & contrast

On white

8.84
#1F459A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#1F459A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F459A
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F459A#FFFFFF#000000##FFFFFF
##1F459A1.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f459a;
/* rgb */ color: rgb(31, 69, 154);
/* oklch */ color: oklch(41.6% 0.146 263.3);
Tailwind
colors: {
  custom: {
    50: '#6f78b8',
    500: '#1f459a',
    950: '#000000',
  },
}
SCSS
$custom: #1f459a;
$custom-light: #6f78b8;
$custom-dark: #000000;
JSON
{
  "hex": "#1f459a",
  "rgb": {
    "r": 31,
    "g": 69,
    "b": 154
  },
  "hsl": {
    "h": 221.463,
    "s": 66.486,
    "l": 36.275
  },
  "oklch": {
    "l": 0.41643,
    "c": 0.14589,
    "h": 263.3
  },
  "luminance": 0.06881
}

Semantic roles & 50–950 ramp

primary
#1F459A
secondary
#C19F54
accent
#B53EE9
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #1F459A

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

Preview Lab → · Contrast checker → · Palette generator →

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