#1F419C#1F419C

#1F419C is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.0% C 0.154 H 264.8°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#1F419C
RGBrgb(31, 65, 156)
HSLhsl(224, 67%, 37%)
HSVhsv(224, 80%, 61%)
CMYKcmyk(80.1%, 58.3%, 0%, 38.8%)
CIE-LABlab(30.57, 22.45, -53.02)
CIE-LCHlch(30.57, 57.58, 292.95°)
OKLaboklab(40.97% -0.014 -0.1531)
OKLCHoklch(40.97% 0.154 264.8)
XYZxyz(8.4540, 6.4712, 32.2496)
Luminance0.0647 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F419C #9C7A1F
analogous
#1F809C #1F419C #3C1F9C
triadic
#1F419C #9C1F41 #419C1F
tetradic
#1F419C #9C1F80 #9C7A1F #1F9C3C
square
#1F419C #9C1F80 #9C7A1F #1F9C3C
split-complementary
#1F419C #9C3C1F #809C1F
monochromatic
#0B1636 #152C69 #1F419C #2956CF #587CDE

Accessibility & contrast

On white

9.15
#1F419C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#1F419C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F419C
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F419C#FFFFFF#000000##FFFFFF
##1F419C1.009.152.299.15
#FFFFFF9.151.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9F
Deuteranopia (green-blind)
#00429A
Tritanopia (blue-blind)
#005868
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #1f419c;
/* rgb */ color: rgb(31, 65, 156);
/* oklch */ color: oklch(41.0% 0.154 264.8);
Tailwind
colors: {
  custom: {
    50: '#7075ba',
    500: '#1f419c',
    950: '#000000',
  },
}
SCSS
$custom: #1f419c;
$custom-light: #7075ba;
$custom-dark: #000000;
JSON
{
  "hex": "#1f419c",
  "rgb": {
    "r": 31,
    "g": 65,
    "b": 156
  },
  "hsl": {
    "h": 223.68,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.40969,
    "c": 0.15377,
    "h": 264.8
  },
  "luminance": 0.06472
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1F419C

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

Preview Lab → · Contrast checker → · Palette generator →

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