#1F429F#1F429F

#1F429F is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.4% C 0.157 H 264.7°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#1F429F
RGBrgb(31, 66, 159)
HSLhsl(224, 67%, 37%)
HSVhsv(224, 81%, 62%)
CMYKcmyk(80.5%, 58.5%, 0%, 37.6%)
CIE-LABlab(31.09, 22.96, -53.99)
CIE-LCHlch(31.09, 58.67, 293.03°)
OKLaboklab(41.44% -0.0145 -0.156)
OKLCHoklch(41.44% 0.157 264.7)
XYZxyz(8.7691, 6.6899, 33.6233)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F429F #9F7C1F
analogous
#1F829F #1F429F #3C1F9F
triadic
#1F429F #9F1F42 #429F1F
tetradic
#1F429F #9F1F82 #9F7C1F #1F9F3C
square
#1F429F #9F1F82 #9F7C1F #1F9F3C
split-complementary
#1F429F #9F3C1F #829F1F
monochromatic
#0B1739 #152D6C #1F429F #2957D2 #5A7EDF

Accessibility & contrast

On white

8.98
#1F429F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#1F429F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F429F
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F429F#FFFFFF#000000##FFFFFF
##1F429F1.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA2
Deuteranopia (green-blind)
#00439D
Tritanopia (blue-blind)
#00596A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #1f429f;
/* rgb */ color: rgb(31, 66, 159);
/* oklch */ color: oklch(41.4% 0.157 264.7);
Tailwind
colors: {
  custom: {
    50: '#7175bc',
    500: '#1f429f',
    950: '#000000',
  },
}
SCSS
$custom: #1f429f;
$custom-light: #7175bc;
$custom-dark: #000000;
JSON
{
  "hex": "#1f429f",
  "rgb": {
    "r": 31,
    "g": 66,
    "b": 159
  },
  "hsl": {
    "h": 223.594,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.41435,
    "c": 0.15665,
    "h": 264.7
  },
  "luminance": 0.06691
}

Semantic roles & 50–950 ramp

primary
#1F429F
secondary
#C3A557
accent
#BB3EEA
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #1F429F

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

Preview Lab → · Contrast checker → · Palette generator →

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