#1A1FA0#1A1FA0

#1A1FA0 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.4% C 0.198 H 269.1°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#1A1FA0
RGBrgb(26, 31, 160)
HSLhsl(238, 72%, 36%)
HSVhsv(238, 84%, 63%)
CMYKcmyk(83.8%, 80.6%, 0%, 37.3%)
CIE-LABlab(22.78, 44.98, -68.27)
CIE-LCHlch(22.78, 81.76, 303.37°)
OKLaboklab(35.36% -0.0033 -0.1978)
OKLCHoklch(35.36% 0.198 269.1)
XYZxyz(7.2590, 3.7368, 33.5896)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1FA0 #A09B1A
analogous
#1A62A0 #1A1FA0 #581AA0
triadic
#1A1FA0 #A01A1F #1FA01A
tetradic
#1A1FA0 #A01A62 #A09B1A #1AA058
square
#1A1FA0 #A01A62 #A09B1A #1AA058
split-complementary
#1A1FA0 #A0581A #62A01A
monochromatic
#090B37 #11156B #1A1FA0 #2329D5 #5257E3

Accessibility & contrast

On white

12.02
#1A1FA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A1FA0
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1FA0#FFFFFF#000000##FFFFFF
##1A1FA01.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA4
Deuteranopia (green-blind)
#002F9E
Tritanopia (blue-blind)
#004760
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1a1fa0;
/* rgb */ color: rgb(26, 31, 160);
/* oklch */ color: oklch(35.4% 0.198 269.1);
Tailwind
colors: {
  custom: {
    50: '#735dbd',
    500: '#1a1fa0',
    950: '#000000',
  },
}
SCSS
$custom: #1a1fa0;
$custom-light: #735dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1fa0",
  "rgb": {
    "r": 26,
    "g": 31,
    "b": 160
  },
  "hsl": {
    "h": 237.761,
    "s": 72.043,
    "l": 36.471
  },
  "oklch": {
    "l": 0.35363,
    "c": 0.19779,
    "h": 269.1
  },
  "luminance": 0.03738
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1A1FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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