#1F437D#1F437D

#1F437D is a dark, moderate blue. Relative luminance 0.058; OKLCH L 38.9% C 0.107 H 259.5°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#1F437D
RGBrgb(31, 67, 125)
HSLhsl(217, 60%, 31%)
HSVhsv(217, 75%, 49%)
CMYKcmyk(75.2%, 46.4%, 0%, 51%)
CIE-LABlab(28.86, 8.67, -36.68)
CIE-LCHlch(28.86, 37.70, 283.30°)
OKLaboklab(38.94% -0.0194 -0.105)
OKLCHoklch(38.94% 0.107 259.5)
XYZxyz(6.2726, 5.7856, 20.1842)
Luminance0.0579 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F437D #7D591F
analogous
#1F727D #1F437D #2A1F7D
triadic
#1F437D #7D1F43 #437D1F
tetradic
#1F437D #7D1F72 #7D591F #1F7D2A
square
#1F437D #7D1F72 #7D591F #1F7D2A
split-complementary
#1F437D #7D2A1F #727D1F
monochromatic
#070E1B #13294C #1F437D #2B5DAE #457BD1

Accessibility & contrast

On white

9.73
#1F437D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#1F437D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F437D
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F437D#FFFFFF#000000##FFFFFF
##1F437D1.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26497F
Deuteranopia (green-blind)
#13407C
Tritanopia (blue-blind)
#00515A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1f437d;
/* rgb */ color: rgb(31, 67, 125);
/* oklch */ color: oklch(38.9% 0.107 259.5);
Tailwind
colors: {
  custom: {
    50: '#6876a3',
    500: '#1f437d',
    950: '#000000',
  },
}
SCSS
$custom: #1f437d;
$custom-light: #6876a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1f437d",
  "rgb": {
    "r": 31,
    "g": 67,
    "b": 125
  },
  "hsl": {
    "h": 217.021,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.38944,
    "c": 0.10681,
    "h": 259.5
  },
  "luminance": 0.05786
}

Semantic roles & 50–950 ramp

primary
#1F437D
secondary
#B08848
accent
#A744E3
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1F437D

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

Preview Lab → · Contrast checker → · Palette generator →

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