#1A0FB2#1A0FB2

#1A0FB2 is a dark, highly saturated blue. Relative luminance 0.038; OKLCH L 36.1% C 0.228 H 268.7°. Best body text is #FFFFFF at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#1A0FB2
RGBrgb(26, 15, 178)
HSLhsl(244, 84%, 38%)
HSVhsv(244, 92%, 70%)
CMYKcmyk(85.4%, 91.6%, 0%, 30.2%)
CIE-LABlab(22.91, 57.01, -78.94)
CIE-LCHlch(22.91, 97.37, 305.83°)
OKLaboklab(36.11% -0.0052 -0.2282)
OKLCHoklch(36.11% 0.228 268.7)
XYZxyz(8.6300, 3.7746, 42.3846)
Luminance0.0378 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0FB2 #A7B20F
analogous
#0F55B2 #1A0FB2 #6B0FB2
triadic
#1A0FB2 #B21A0F #0FB21A
tetradic
#1A0FB2 #B20F55 #A7B20F #0FB26B
square
#1A0FB2 #B20F55 #A7B20F #0FB26B
split-complementary
#1A0FB2 #B26B0F #55B20F
monochromatic
#0A0541 #120A7A #1A0FB2 #2214EA #574CF0

Accessibility & contrast

On white

11.96
#1A0FB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#1A0FB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A0FB2
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0FB2#FFFFFF#000000##FFFFFF
##1A0FB21.0011.961.7611.96
#FFFFFF11.961.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FB6
Deuteranopia (green-blind)
#002EB0
Tritanopia (blue-blind)
#004A68
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1a0fb2;
/* rgb */ color: rgb(26, 15, 178);
/* oklch */ color: oklch(36.1% 0.228 268.7);
Tailwind
colors: {
  custom: {
    50: '#7958cb',
    500: '#1a0fb2',
    950: '#000000',
  },
}
SCSS
$custom: #1a0fb2;
$custom-light: #7958cb;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0fb2",
  "rgb": {
    "r": 26,
    "g": 15,
    "b": 178
  },
  "hsl": {
    "h": 244.049,
    "s": 84.456,
    "l": 37.843
  },
  "oklch": {
    "l": 0.3611,
    "c": 0.22829,
    "h": 268.7
  },
  "luminance": 0.03776
}

Semantic roles & 50–950 ramp

primary
#1A0FB2
secondary
#C8D14C
accent
#FB2DED
background
#F8F5FC
surface
#EFE9F9
border
#CAC5D2
text
#0B0414
muted
#7C7982

Preview Lab

Preview with #1A0FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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