#1F3473#1F3473

#1F3473 is a dark, moderate blue. Relative luminance 0.040; OKLCH L 34.7% C 0.112 H 266.6°. Best body text is #FFFFFF at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#1F3473
RGBrgb(31, 52, 115)
HSLhsl(225, 58%, 29%)
HSVhsv(225, 73%, 45%)
CMYKcmyk(73%, 54.8%, 0%, 54.9%)
CIE-LABlab(23.62, 15.14, -38.81)
CIE-LCHlch(23.62, 41.65, 291.31°)
OKLaboklab(34.71% -0.0066 -0.1115)
OKLCHoklch(34.71% 0.112 266.6)
XYZxyz(4.8865, 3.9846, 16.7279)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F3473 #735E1F
analogous
#1F5E73 #1F3473 #341F73
triadic
#1F3473 #731F34 #34731F
tetradic
#1F3473 #731F5E #735E1F #1F7334
square
#1F3473 #731F5E #735E1F #1F7334
split-complementary
#1F3473 #73341F #5E731F
monochromatic
#060B18 #121E43 #1F3473 #2C4AA3 #4163CC

Accessibility & contrast

On white

11.69
#1F3473 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#1F3473 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F3473
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F3473#FFFFFF#000000##FFFFFF
##1F34731.0011.691.8011.69
#FFFFFF11.691.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A3C75
Deuteranopia (green-blind)
#003572
Tritanopia (blue-blind)
#00434E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1f3473;
/* rgb */ color: rgb(31, 52, 115);
/* oklch */ color: oklch(34.7% 0.112 266.6);
Tailwind
colors: {
  custom: {
    50: '#666b9c',
    500: '#1f3473',
    950: '#000000',
  },
}
SCSS
$custom: #1f3473;
$custom-light: #666b9c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f3473",
  "rgb": {
    "r": 31,
    "g": 52,
    "b": 115
  },
  "hsl": {
    "h": 225,
    "s": 57.534,
    "l": 28.627
  },
  "oklch": {
    "l": 0.34706,
    "c": 0.11174,
    "h": 266.6
  },
  "luminance": 0.03985
}

Semantic roles & 50–950 ramp

primary
#1F3473
secondary
#A78F47
accent
#BA47E1
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #1F3473

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

Preview Lab → · Contrast checker → · Palette generator →

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