#1F419E#1F419E

#1F419E is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.1% C 0.157 H 264.9°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#1F419E
RGBrgb(31, 65, 158)
HSLhsl(224, 67%, 37%)
HSVhsv(224, 80%, 62%)
CMYKcmyk(80.4%, 58.9%, 0%, 38%)
CIE-LABlab(30.73, 23.24, -53.97)
CIE-LCHlch(30.73, 58.76, 293.30°)
OKLaboklab(41.14% -0.0139 -0.1559)
OKLCHoklch(41.14% 0.157 264.9)
XYZxyz(8.6247, 6.5395, 33.1488)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F419E #9E7C1F
analogous
#1F819E #1F419E #3D1F9E
triadic
#1F419E #9E1F41 #419E1F
tetradic
#1F419E #9E1F81 #9E7C1F #1F9E3D
square
#1F419E #9E1F81 #9E7C1F #1F9E3D
split-complementary
#1F419E #9E3D1F #819E1F
monochromatic
#0B1738 #152C6B #1F419E #2956D1 #597DDE

Accessibility & contrast

On white

9.10
#1F419E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#1F419E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F419E
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F419E#FFFFFF#000000##FFFFFF
##1F419E1.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA1
Deuteranopia (green-blind)
#00439C
Tritanopia (blue-blind)
#005869
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #1f419e;
/* rgb */ color: rgb(31, 65, 158);
/* oklch */ color: oklch(41.1% 0.157 264.9);
Tailwind
colors: {
  custom: {
    50: '#7075bb',
    500: '#1f419e',
    950: '#000000',
  },
}
SCSS
$custom: #1f419e;
$custom-light: #7075bb;
$custom-dark: #000000;
JSON
{
  "hex": "#1f419e",
  "rgb": {
    "r": 31,
    "g": 65,
    "b": 158
  },
  "hsl": {
    "h": 223.937,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.41143,
    "c": 0.15653,
    "h": 264.9
  },
  "luminance": 0.06541
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1F419E

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

Preview Lab → · Contrast checker → · Palette generator →

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