#1F19CA#1F19CA

#1F19CA is a dark, highly saturated blue. Relative luminance 0.053; OKLCH L 40.1% C 0.248 H 268.6°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#1F19CA
RGBrgb(31, 25, 202)
HSLhsl(242, 78%, 45%)
HSVhsv(242, 88%, 79%)
CMYKcmyk(84.7%, 87.6%, 0%, 20.8%)
CIE-LABlab(27.43, 60.58, -85.61)
CIE-LCHlch(27.43, 104.88, 305.29°)
OKLaboklab(40.14% -0.0061 -0.2477)
OKLCHoklch(40.14% 0.248 268.6)
XYZxyz(11.5697, 5.2494, 56.2691)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F19CA #C4CA19
analogous
#196CCA #1F19CA #7819CA
triadic
#1F19CA #CA1F19 #19CA1F
tetradic
#1F19CA #CA196C #C4CA19 #19CA78
square
#1F19CA #CA196C #C4CA19 #19CA78
split-complementary
#1F19CA #CA7819 #6CCA19
monochromatic
#0E0C5D #171294 #1F19CA #3F3AE7 #7470ED

Accessibility & contrast

On white

10.24
#1F19CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#1F19CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F19CA
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F19CA#FFFFFF#000000##FFFFFF
##1F19CA1.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004ACF
Deuteranopia (green-blind)
#0037C7
Tritanopia (blue-blind)
#005778
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #1f19ca;
/* rgb */ color: rgb(31, 25, 202);
/* oklch */ color: oklch(40.1% 0.248 268.6);
Tailwind
colors: {
  custom: {
    50: '#7f5edc',
    500: '#1f19ca',
    950: '#000000',
  },
}
SCSS
$custom: #1f19ca;
$custom-light: #7f5edc;
$custom-dark: #000000;
JSON
{
  "hex": "#1f19ca",
  "rgb": {
    "r": 31,
    "g": 25,
    "b": 202
  },
  "hsl": {
    "h": 242.034,
    "s": 77.974,
    "l": 44.51
  },
  "oklch": {
    "l": 0.40138,
    "c": 0.24774,
    "h": 268.6
  },
  "luminance": 0.05251
}

Semantic roles & 50–950 ramp

primary
#1F19CA
secondary
#D0D46B
accent
#F433EE
background
#F8F5FD
surface
#F0EAFB
border
#CBC6D4
text
#0D0515
muted
#7D7983

Preview Lab

Preview with #1F19CA

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

Preview Lab → · Contrast checker → · Palette generator →

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