#1F4484#1F4484

#1F4484 is a dark, moderate blue. Relative luminance 0.061; OKLCH L 39.7% C 0.116 H 260.5°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#1F4484
RGBrgb(31, 68, 132)
HSLhsl(218, 62%, 32%)
HSVhsv(218, 77%, 52%)
CMYKcmyk(76.5%, 48.5%, 0%, 48.2%)
CIE-LABlab(29.64, 10.80, -39.80)
CIE-LCHlch(29.64, 41.24, 285.18°)
OKLaboklab(39.69% -0.019 -0.1142)
OKLCHoklch(39.69% 0.116 260.5)
XYZxyz(6.7956, 6.0907, 22.6428)
Luminance0.0609 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4484 #845F1F
analogous
#1F7784 #1F4484 #2D1F84
triadic
#1F4484 #841F44 #44841F
tetradic
#1F4484 #841F77 #845F1F #1F842D
square
#1F4484 #841F77 #845F1F #1F842D
split-complementary
#1F4484 #842D1F #77841F
monochromatic
#081121 #132A52 #1F4484 #2B5EB6 #497CD4

Accessibility & contrast

On white

9.47
#1F4484 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#1F4484 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4484
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4484#FFFFFF#000000##FFFFFF
##1F44841.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224B86
Deuteranopia (green-blind)
#074183
Tritanopia (blue-blind)
#00535D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1f4484;
/* rgb */ color: rgb(31, 68, 132);
/* oklch */ color: oklch(39.7% 0.116 260.5);
Tailwind
colors: {
  custom: {
    50: '#6a77a8',
    500: '#1f4484',
    950: '#000000',
  },
}
SCSS
$custom: #1f4484;
$custom-light: #6a77a8;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4484",
  "rgb": {
    "r": 31,
    "g": 68,
    "b": 132
  },
  "hsl": {
    "h": 218.02,
    "s": 61.963,
    "l": 31.961
  },
  "oklch": {
    "l": 0.39692,
    "c": 0.11576,
    "h": 260.5
  },
  "luminance": 0.06091
}

Semantic roles & 50–950 ramp

primary
#1F4484
secondary
#B78E48
accent
#AA43E5
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #1F4484

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

Preview Lab → · Contrast checker → · Palette generator →

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