#1F46A0#1F46A0

#1F46A0 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.4% C 0.153 H 263.5°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#1F46A0
RGBrgb(31, 70, 160)
HSLhsl(222, 68%, 37%)
HSVhsv(222, 81%, 63%)
CMYKcmyk(80.6%, 56.3%, 0%, 37.3%)
CIE-LABlab(32.28, 20.63, -52.67)
CIE-LCHlch(32.28, 56.56, 291.39°)
OKLaboklab(42.35% -0.0172 -0.152)
OKLCHoklch(42.35% 0.153 263.5)
XYZxyz(9.0981, 7.2086, 34.1628)
Luminance0.0721 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F46A0 #A0791F
analogous
#1F87A0 #1F46A0 #381FA0
triadic
#1F46A0 #A01F46 #46A01F
tetradic
#1F46A0 #A01F87 #A0791F #1FA038
square
#1F46A0 #A01F87 #A0791F #1FA038
split-complementary
#1F46A0 #A0381F #87A01F
monochromatic
#0B1939 #15306D #1F46A0 #295CD3 #5A82DF

Accessibility & contrast

On white

8.60
#1F46A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#1F46A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F46A0
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F46A0#FFFFFF#000000##FFFFFF
##1F46A01.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A3
Deuteranopia (green-blind)
#00469E
Tritanopia (blue-blind)
#005C6C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1f46a0;
/* rgb */ color: rgb(31, 70, 160);
/* oklch */ color: oklch(42.4% 0.153 263.5);
Tailwind
colors: {
  custom: {
    50: '#7178bd',
    500: '#1f46a0',
    950: '#000000',
  },
}
SCSS
$custom: #1f46a0;
$custom-light: #7178bd;
$custom-dark: #000000;
JSON
{
  "hex": "#1f46a0",
  "rgb": {
    "r": 31,
    "g": 70,
    "b": 160
  },
  "hsl": {
    "h": 221.86,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.42354,
    "c": 0.15297,
    "h": 263.5
  },
  "luminance": 0.0721
}

Semantic roles & 50–950 ramp

primary
#1F46A0
secondary
#C3A358
accent
#B63DEA
background
#F7F7FB
surface
#EDEDF7
border
#C8C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #1F46A0

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

Preview Lab → · Contrast checker → · Palette generator →

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