#1F4385#1F4385

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

Color values

HEX#1F4385
RGBrgb(31, 67, 133)
HSLhsl(219, 62%, 32%)
HSVhsv(219, 77%, 52%)
CMYKcmyk(76.7%, 49.6%, 0%, 47.8%)
CIE-LABlab(29.41, 11.89, -40.80)
CIE-LCHlch(29.41, 42.49, 286.24°)
OKLaboklab(39.54% -0.018 -0.1171)
OKLCHoklch(39.54% 0.119 261.3)
XYZxyz(6.8043, 5.9983, 22.9849)
Luminance0.0600 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4385 #85611F
analogous
#1F7685 #1F4385 #2E1F85
triadic
#1F4385 #851F43 #43851F
tetradic
#1F4385 #851F76 #85611F #1F852E
square
#1F4385 #851F76 #85611F #1F852E
split-complementary
#1F4385 #852E1F #76851F
monochromatic
#081122 #132A53 #1F4385 #2B5CB7 #4A7BD5

Accessibility & contrast

On white

9.55
#1F4385 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#1F4385 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4385
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4385#FFFFFF#000000##FFFFFF
##1F43851.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4A87
Deuteranopia (green-blind)
#004184
Tritanopia (blue-blind)
#00535D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1f4385;
/* rgb */ color: rgb(31, 67, 133);
/* oklch */ color: oklch(39.5% 0.118 261.3);
Tailwind
colors: {
  custom: {
    50: '#6a76a9',
    500: '#1f4385',
    950: '#000000',
  },
}
SCSS
$custom: #1f4385;
$custom-light: #6a76a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4385",
  "rgb": {
    "r": 31,
    "g": 67,
    "b": 133
  },
  "hsl": {
    "h": 218.824,
    "s": 62.195,
    "l": 32.157
  },
  "oklch": {
    "l": 0.39536,
    "c": 0.1185,
    "h": 261.3
  },
  "luminance": 0.05999
}

Semantic roles & 50–950 ramp

primary
#1F4385
secondary
#B79049
accent
#AC43E5
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #1F4385

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

Preview Lab → · Contrast checker → · Palette generator →

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