#1F467F#1F467F

#1F467F is a dark, moderate blue. Relative luminance 0.062; OKLCH L 39.8% C 0.106 H 258.1°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#1F467F
RGBrgb(31, 70, 127)
HSLhsl(216, 61%, 31%)
HSVhsv(216, 76%, 50%)
CMYKcmyk(75.6%, 44.9%, 0%, 50.2%)
CIE-LABlab(29.92, 7.42, -36.24)
CIE-LCHlch(29.92, 37.00, 281.58°)
OKLaboklab(39.8% -0.0219 -0.1037)
OKLCHoklch(39.8% 0.106 258.1)
XYZxyz(6.5846, 6.2032, 20.9249)
Luminance0.0620 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F467F #7F581F
analogous
#1F767F #1F467F #281F7F
triadic
#1F467F #7F1F46 #467F1F
tetradic
#1F467F #7F1F76 #7F581F #1F7F28
square
#1F467F #7F1F76 #7F581F #1F7F28
split-complementary
#1F467F #7F281F #767F1F
monochromatic
#07101D #132B4E #1F467F #2B61B0 #467FD2

Accessibility & contrast

On white

9.37
#1F467F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#1F467F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F467F
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F467F#FFFFFF#000000##FFFFFF
##1F467F1.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4B81
Deuteranopia (green-blind)
#18427E
Tritanopia (blue-blind)
#00535C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1f467f;
/* rgb */ color: rgb(31, 70, 127);
/* oklch */ color: oklch(39.8% 0.106 258.1);
Tailwind
colors: {
  custom: {
    50: '#6879a4',
    500: '#1f467f',
    950: '#000000',
  },
}
SCSS
$custom: #1f467f;
$custom-light: #6879a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1f467f",
  "rgb": {
    "r": 31,
    "g": 70,
    "b": 127
  },
  "hsl": {
    "h": 215.625,
    "s": 60.759,
    "l": 30.98
  },
  "oklch": {
    "l": 0.398,
    "c": 0.10597,
    "h": 258.1
  },
  "luminance": 0.06204
}

Semantic roles & 50–950 ramp

primary
#1F467F
secondary
#B28748
accent
#A344E4
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #1F467F

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

Preview Lab → · Contrast checker → · Palette generator →

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