#1F4384#1F4384

#1F4384 is a dark, moderate blue. Relative luminance 0.060; OKLCH L 39.5% C 0.117 H 261.1°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#1F4384
RGBrgb(31, 67, 132)
HSLhsl(219, 62%, 32%)
HSVhsv(219, 77%, 52%)
CMYKcmyk(76.5%, 49.2%, 0%, 48.2%)
CIE-LABlab(29.34, 11.49, -40.29)
CIE-LCHlch(29.34, 41.89, 285.91°)
OKLaboklab(39.46% -0.0181 -0.1156)
OKLCHoklch(39.46% 0.117 261.1)
XYZxyz(6.7356, 5.9708, 22.6228)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4384 #84601F
analogous
#1F7684 #1F4384 #2E1F84
triadic
#1F4384 #841F43 #43841F
tetradic
#1F4384 #841F76 #84601F #1F842E
square
#1F4384 #841F76 #84601F #1F842E
split-complementary
#1F4384 #842E1F #76841F
monochromatic
#081121 #132A52 #1F4384 #2B5CB6 #497BD4

Accessibility & contrast

On white

9.57
#1F4384 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#1F4384 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4384
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4384#FFFFFF#000000##FFFFFF
##1F43841.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4A86
Deuteranopia (green-blind)
#024183
Tritanopia (blue-blind)
#00525D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1f4384;
/* rgb */ color: rgb(31, 67, 132);
/* oklch */ color: oklch(39.5% 0.117 261.1);
Tailwind
colors: {
  custom: {
    50: '#6a76a8',
    500: '#1f4384',
    950: '#000000',
  },
}
SCSS
$custom: #1f4384;
$custom-light: #6a76a8;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4384",
  "rgb": {
    "r": 31,
    "g": 67,
    "b": 132
  },
  "hsl": {
    "h": 218.614,
    "s": 61.963,
    "l": 31.961
  },
  "oklch": {
    "l": 0.3946,
    "c": 0.11704,
    "h": 261.1
  },
  "luminance": 0.05972
}

Semantic roles & 50–950 ramp

primary
#1F4384
secondary
#B78F48
accent
#AB43E5
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #1F4384

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

Preview Lab → · Contrast checker → · Palette generator →

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