#1F4680#1F4680

#1F4680 is a dark, moderate blue. Relative luminance 0.062; OKLCH L 39.9% C 0.107 H 258.4°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#1F4680
RGBrgb(31, 70, 128)
HSLhsl(216, 61%, 31%)
HSVhsv(216, 76%, 50%)
CMYKcmyk(75.8%, 45.3%, 0%, 49.8%)
CIE-LABlab(29.98, 7.82, -36.76)
CIE-LCHlch(29.98, 37.59, 282.01°)
OKLaboklab(39.87% -0.0217 -0.1052)
OKLCHoklch(39.87% 0.107 258.4)
XYZxyz(6.6501, 6.2294, 21.2698)
Luminance0.0623 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4680 #80591F
analogous
#1F7680 #1F4680 #281F80
triadic
#1F4680 #801F46 #46801F
tetradic
#1F4680 #801F76 #80591F #1F8028
square
#1F4680 #801F76 #80591F #1F8028
split-complementary
#1F4680 #80281F #76801F
monochromatic
#07101D #132B4F #1F4680 #2B61B1 #477FD2

Accessibility & contrast

On white

9.35
#1F4680 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#1F4680 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4680
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4680#FFFFFF#000000##FFFFFF
##1F46801.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294B82
Deuteranopia (green-blind)
#17427F
Tritanopia (blue-blind)
#00545C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1f4680;
/* rgb */ color: rgb(31, 70, 128);
/* oklch */ color: oklch(39.9% 0.107 258.4);
Tailwind
colors: {
  custom: {
    50: '#6979a5',
    500: '#1f4680',
    950: '#000000',
  },
}
SCSS
$custom: #1f4680;
$custom-light: #6979a5;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4680",
  "rgb": {
    "r": 31,
    "g": 70,
    "b": 128
  },
  "hsl": {
    "h": 215.876,
    "s": 61.006,
    "l": 31.176
  },
  "oklch": {
    "l": 0.39871,
    "c": 0.10742,
    "h": 258.4
  },
  "luminance": 0.0623
}

Semantic roles & 50–950 ramp

primary
#1F4680
secondary
#B38848
accent
#A444E4
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #1F4680

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

Preview Lab → · Contrast checker → · Palette generator →

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