#1A1FA1#1A1FA1

#1A1FA1 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.5% C 0.199 H 269.0°. Best body text is #FFFFFF at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#1A1FA1
RGBrgb(26, 31, 161)
HSLhsl(238, 72%, 37%)
HSVhsv(238, 84%, 63%)
CMYKcmyk(83.9%, 80.7%, 0%, 36.9%)
CIE-LABlab(22.90, 45.31, -68.68)
CIE-LCHlch(22.90, 82.28, 303.41°)
OKLaboklab(35.48% -0.0034 -0.1989)
OKLCHoklch(35.48% 0.199 269)
XYZxyz(7.3468, 3.7719, 34.0521)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1FA1 #A19C1A
analogous
#1A63A1 #1A1FA1 #591AA1
triadic
#1A1FA1 #A11A1F #1FA11A
tetradic
#1A1FA1 #A11A63 #A19C1A #1AA159
square
#1A1FA1 #A11A63 #A19C1A #1AA159
split-complementary
#1A1FA1 #A1591A #63A11A
monochromatic
#090B38 #11156C #1A1FA1 #2329D6 #5258E3

Accessibility & contrast

On white

11.97
#1A1FA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#1A1FA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A1FA1
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1FA1#FFFFFF#000000##FFFFFF
##1A1FA11.0011.971.7511.97
#FFFFFF11.971.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA5
Deuteranopia (green-blind)
#00309F
Tritanopia (blue-blind)
#004860
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1a1fa1;
/* rgb */ color: rgb(26, 31, 161);
/* oklch */ color: oklch(35.5% 0.199 269.0);
Tailwind
colors: {
  custom: {
    50: '#735ebe',
    500: '#1a1fa1',
    950: '#000000',
  },
}
SCSS
$custom: #1a1fa1;
$custom-light: #735ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1fa1",
  "rgb": {
    "r": 26,
    "g": 31,
    "b": 161
  },
  "hsl": {
    "h": 237.778,
    "s": 72.193,
    "l": 36.667
  },
  "oklch": {
    "l": 0.35482,
    "c": 0.19897,
    "h": 269
  },
  "luminance": 0.03773
}

Semantic roles & 50–950 ramp

primary
#1A1FA1
secondary
#C6C151
accent
#E839EF
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #1A1FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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