#1F467D#1F467D

#1F467D is a dark, moderate blue. Relative luminance 0.062; OKLCH L 39.7% C 0.103 H 257.5°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#1F467D
RGBrgb(31, 70, 125)
HSLhsl(215, 60%, 31%)
HSVhsv(215, 75%, 49%)
CMYKcmyk(75.2%, 44%, 0%, 51%)
CIE-LABlab(29.79, 6.62, -35.20)
CIE-LCHlch(29.79, 35.82, 280.66°)
OKLaboklab(39.66% -0.0223 -0.1006)
OKLCHoklch(39.66% 0.103 257.5)
XYZxyz(6.4556, 6.1516, 20.2452)
Luminance0.0615 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F467D #7D561F
analogous
#1F757D #1F467D #271F7D
triadic
#1F467D #7D1F46 #467D1F
tetradic
#1F467D #7D1F75 #7D561F #1F7D27
square
#1F467D #7D1F75 #7D561F #1F7D27
split-complementary
#1F467D #7D271F #757D1F
monochromatic
#070F1B #132B4C #1F467D #2B61AE #457FD1

Accessibility & contrast

On white

9.42
#1F467D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#1F467D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F467D
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F467D#FFFFFF#000000##FFFFFF
##1F467D1.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4B7F
Deuteranopia (green-blind)
#1B427C
Tritanopia (blue-blind)
#00535B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1f467d;
/* rgb */ color: rgb(31, 70, 125);
/* oklch */ color: oklch(39.7% 0.103 257.5);
Tailwind
colors: {
  custom: {
    50: '#6879a3',
    500: '#1f467d',
    950: '#000000',
  },
}
SCSS
$custom: #1f467d;
$custom-light: #6879a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1f467d",
  "rgb": {
    "r": 31,
    "g": 70,
    "b": 125
  },
  "hsl": {
    "h": 215.106,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.3966,
    "c": 0.10306,
    "h": 257.5
  },
  "luminance": 0.06152
}

Semantic roles & 50–950 ramp

primary
#1F467D
secondary
#B08548
accent
#A144E3
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #1F467D

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

Preview Lab → · Contrast checker → · Palette generator →

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