#1F19B2#1F19B2

#1F19B2 is a dark, highly saturated blue. Relative luminance 0.042; OKLCH L 37.1% C 0.222 H 269.8°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#1F19B2
RGBrgb(31, 25, 178)
HSLhsl(242, 75%, 40%)
HSVhsv(242, 86%, 70%)
CMYKcmyk(82.6%, 86%, 0%, 30.2%)
CIE-LABlab(24.32, 53.64, -76.59)
CIE-LCHlch(24.32, 93.50, 305.01°)
OKLaboklab(37.14% -0.0008 -0.2216)
OKLCHoklch(37.14% 0.222 269.8)
XYZxyz(8.9459, 4.1999, 42.4500)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F19B2 #ACB219
analogous
#1960B2 #1F19B2 #6C19B2
triadic
#1F19B2 #B21F19 #19B21F
tetradic
#1F19B2 #B21960 #ACB219 #19B26C
square
#1F19B2 #B21960 #ACB219 #19B26C
split-complementary
#1F19B2 #B26C19 #60B219
monochromatic
#0C0A47 #16117C #1F19B2 #2F27E1 #635DE8

Accessibility & contrast

On white

11.41
#1F19B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#1F19B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F19B2
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F19B2#FFFFFF#000000##FFFFFF
##1F19B21.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041B6
Deuteranopia (green-blind)
#0032B0
Tritanopia (blue-blind)
#004D69
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1f19b2;
/* rgb */ color: rgb(31, 25, 178);
/* oklch */ color: oklch(37.1% 0.222 269.8);
Tailwind
colors: {
  custom: {
    50: '#795ccb',
    500: '#1f19b2',
    950: '#000000',
  },
}
SCSS
$custom: #1f19b2;
$custom-light: #795ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#1f19b2",
  "rgb": {
    "r": 31,
    "g": 25,
    "b": 178
  },
  "hsl": {
    "h": 242.353,
    "s": 75.369,
    "l": 39.804
  },
  "oklch": {
    "l": 0.37136,
    "c": 0.2216,
    "h": 269.8
  },
  "luminance": 0.04201
}

Semantic roles & 50–950 ramp

primary
#1F19B2
secondary
#C8CC5B
accent
#F236EB
background
#F8F5FC
surface
#EFE9F9
border
#CAC5D2
text
#0B0413
muted
#7C7982

Preview Lab

Preview with #1F19B2

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

Preview Lab → · Contrast checker → · Palette generator →

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