#1F429C#1F429C

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

Color values

HEX#1F429C
RGBrgb(31, 66, 156)
HSLhsl(223, 67%, 37%)
HSVhsv(223, 80%, 61%)
CMYKcmyk(80.1%, 57.7%, 0%, 38.8%)
CIE-LABlab(30.85, 21.77, -52.57)
CIE-LCHlch(30.85, 56.90, 292.50°)
OKLaboklab(41.18% -0.0147 -0.1518)
OKLCHoklch(41.18% 0.153 264.5)
XYZxyz(8.5119, 6.5870, 32.2689)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F429C #9C791F
analogous
#1F819C #1F429C #3B1F9C
triadic
#1F429C #9C1F42 #429C1F
tetradic
#1F429C #9C1F81 #9C791F #1F9C3B
square
#1F429C #9C1F81 #9C791F #1F9C3B
split-complementary
#1F429C #9C3B1F #819C1F
monochromatic
#0B1736 #152C69 #1F429C #2958CF #587DDE

Accessibility & contrast

On white

9.06
#1F429C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F429C
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F429C#FFFFFF#000000##FFFFFF
##1F429C1.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9F
Deuteranopia (green-blind)
#00439A
Tritanopia (blue-blind)
#005868
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #1f429c;
/* rgb */ color: rgb(31, 66, 156);
/* oklch */ color: oklch(41.2% 0.152 264.5);
Tailwind
colors: {
  custom: {
    50: '#7075ba',
    500: '#1f429c',
    950: '#000000',
  },
}
SCSS
$custom: #1f429c;
$custom-light: #7075ba;
$custom-dark: #000000;
JSON
{
  "hex": "#1f429c",
  "rgb": {
    "r": 31,
    "g": 66,
    "b": 156
  },
  "hsl": {
    "h": 223.2,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.41177,
    "c": 0.1525,
    "h": 264.5
  },
  "luminance": 0.06588
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1F429C

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

Preview Lab → · Contrast checker → · Palette generator →

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