#1F428A#1F428A

#1F428A is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.7% C 0.127 H 262.6°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#1F428A
RGBrgb(31, 66, 138)
HSLhsl(220, 63%, 33%)
HSVhsv(220, 78%, 54%)
CMYKcmyk(77.5%, 52.2%, 0%, 45.9%)
CIE-LABlab(29.47, 14.59, -43.79)
CIE-LCHlch(29.47, 46.16, 288.42°)
OKLaboklab(39.7% -0.0164 -0.126)
OKLCHoklch(39.7% 0.127 262.6)
XYZxyz(7.0991, 6.0219, 24.8280)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F428A #8A671F
analogous
#1F778A #1F428A #311F8A
triadic
#1F428A #8A1F42 #428A1F
tetradic
#1F428A #8A1F77 #8A671F #1F8A31
square
#1F428A #8A1F77 #8A671F #1F8A31
split-complementary
#1F428A #8A311F #778A1F
monochromatic
#091226 #142A58 #1F428A #2A5ABC #4C7AD7

Accessibility & contrast

On white

9.53
#1F428A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F428A
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F428A#FFFFFF#000000##FFFFFF
##1F428A1.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154B8D
Deuteranopia (green-blind)
#004189
Tritanopia (blue-blind)
#00535F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1f428a;
/* rgb */ color: rgb(31, 66, 138);
/* oklch */ color: oklch(39.7% 0.127 262.6);
Tailwind
colors: {
  custom: {
    50: '#6b75ad',
    500: '#1f428a',
    950: '#000000',
  },
}
SCSS
$custom: #1f428a;
$custom-light: #6b75ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1f428a",
  "rgb": {
    "r": 31,
    "g": 66,
    "b": 138
  },
  "hsl": {
    "h": 220.374,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.39695,
    "c": 0.12704,
    "h": 262.6
  },
  "luminance": 0.06023
}

Semantic roles & 50–950 ramp

primary
#1F428A
secondary
#BA954B
accent
#B041E6
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #1F428A

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

Preview Lab → · Contrast checker → · Palette generator →

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