#1F429E#1F429E

#1F429E is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.3% C 0.155 H 264.6°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#1F429E
RGBrgb(31, 66, 158)
HSLhsl(223, 67%, 37%)
HSVhsv(223, 80%, 62%)
CMYKcmyk(80.4%, 58.2%, 0%, 38%)
CIE-LABlab(31.01, 22.56, -53.52)
CIE-LCHlch(31.01, 58.08, 292.86°)
OKLaboklab(41.35% -0.0146 -0.1546)
OKLCHoklch(41.35% 0.155 264.6)
XYZxyz(8.6827, 6.6553, 33.1681)
Luminance0.0666 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F429E #9E7B1F
analogous
#1F819E #1F429E #3C1F9E
triadic
#1F429E #9E1F42 #429E1F
tetradic
#1F429E #9E1F81 #9E7B1F #1F9E3C
square
#1F429E #9E1F81 #9E7B1F #1F9E3C
split-complementary
#1F429E #9E3C1F #819E1F
monochromatic
#0B1738 #152D6B #1F429E #2957D1 #597EDE

Accessibility & contrast

On white

9.01
#1F429E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#1F429E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F429E
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F429E#FFFFFF#000000##FFFFFF
##1F429E1.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f429e;
/* rgb */ color: rgb(31, 66, 158);
/* oklch */ color: oklch(41.3% 0.155 264.6);
Tailwind
colors: {
  custom: {
    50: '#7075bb',
    500: '#1f429e',
    950: '#000000',
  },
}
SCSS
$custom: #1f429e;
$custom-light: #7075bb;
$custom-dark: #000000;
JSON
{
  "hex": "#1f429e",
  "rgb": {
    "r": 31,
    "g": 66,
    "b": 158
  },
  "hsl": {
    "h": 223.465,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.41348,
    "c": 0.15527,
    "h": 264.6
  },
  "luminance": 0.06656
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1F429E

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

Preview Lab → · Contrast checker → · Palette generator →

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