#1F429D#1F429D

#1F429D is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.3% C 0.154 H 264.5°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#1F429D
RGBrgb(31, 66, 157)
HSLhsl(223, 67%, 37%)
HSVhsv(223, 80%, 62%)
CMYKcmyk(80.3%, 58%, 0%, 38.4%)
CIE-LABlab(30.93, 22.17, -53.05)
CIE-LCHlch(30.93, 57.49, 292.68°)
OKLaboklab(41.26% -0.0146 -0.1532)
OKLCHoklch(41.26% 0.154 264.5)
XYZxyz(8.5969, 6.6211, 32.7166)
Luminance0.0662 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F429D #9D7A1F
analogous
#1F819D #1F429D #3B1F9D
triadic
#1F429D #9D1F42 #429D1F
tetradic
#1F429D #9D1F81 #9D7A1F #1F9D3B
square
#1F429D #9D1F81 #9D7A1F #1F9D3B
split-complementary
#1F429D #9D3B1F #819D1F
monochromatic
#0B1737 #152D6A #1F429D #2957D0 #587DDE

Accessibility & contrast

On white

9.03
#1F429D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#1F429D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F429D
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F429D#FFFFFF#000000##FFFFFF
##1F429D1.009.032.329.03
#FFFFFF9.031.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA0
Deuteranopia (green-blind)
#00439B
Tritanopia (blue-blind)
#005969
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #1f429d;
/* rgb */ color: rgb(31, 66, 157);
/* oklch */ color: oklch(41.3% 0.154 264.5);
Tailwind
colors: {
  custom: {
    50: '#7075bb',
    500: '#1f429d',
    950: '#000000',
  },
}
SCSS
$custom: #1f429d;
$custom-light: #7075bb;
$custom-dark: #000000;
JSON
{
  "hex": "#1f429d",
  "rgb": {
    "r": 31,
    "g": 66,
    "b": 157
  },
  "hsl": {
    "h": 223.333,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.41262,
    "c": 0.15389,
    "h": 264.5
  },
  "luminance": 0.06622
}

Semantic roles & 50–950 ramp

primary
#1F429D
secondary
#C2A456
accent
#BA3EEA
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #1F429D

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

Preview Lab → · Contrast checker → · Palette generator →

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