#1A0F70#1A0F70

#1A0F70 is a dark, vivid blue. Relative luminance 0.017; OKLCH L 27.5% C 0.153 H 274.7°. Best body text is #FFFFFF at 15.60:1 contrast (WCAG AA passes).

Color values

HEX#1A0F70
RGBrgb(26, 15, 112)
HSLhsl(247, 76%, 25%)
HSVhsv(247, 87%, 44%)
CMYKcmyk(76.8%, 86.6%, 0%, 56.1%)
CIE-LABlab(14.01, 37.33, -52.64)
CIE-LCHlch(14.01, 64.53, 305.35°)
OKLaboklab(27.53% 0.0126 -0.1522)
OKLCHoklch(27.53% 0.153 274.7)
XYZxyz(3.5205, 1.7308, 15.4746)
Luminance0.0173 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0F70 #65700F
analogous
#0F3570 #1A0F70 #4A0F70
triadic
#1A0F70 #701A0F #0F701A
tetradic
#1A0F70 #700F35 #65700F #0F704A
square
#1A0F70 #700F35 #65700F #0F704A
split-complementary
#1A0F70 #704A0F #35700F
monochromatic
#06041B #0D083A #1A0F70 #2716A6 #331DDC

Accessibility & contrast

On white

15.60
#1A0F70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#1A0F70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A0F70
15.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0F70#FFFFFF#000000##FFFFFF
##1A0F701.0015.601.3515.60
#FFFFFF15.601.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002873
Deuteranopia (green-blind)
#001F6E
Tritanopia (blue-blind)
#002E41
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #1a0f70;
/* rgb */ color: rgb(26, 15, 112);
/* oklch */ color: oklch(27.5% 0.153 274.7);
Tailwind
colors: {
  custom: {
    50: '#67519a',
    500: '#1a0f70',
    950: '#000000',
  },
}
SCSS
$custom: #1a0f70;
$custom-light: #67519a;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0f70",
  "rgb": {
    "r": 26,
    "g": 15,
    "b": 112
  },
  "hsl": {
    "h": 246.804,
    "s": 76.378,
    "l": 24.902
  },
  "oklch": {
    "l": 0.27534,
    "c": 0.15271,
    "h": 274.7
  },
  "luminance": 0.01731
}

Semantic roles & 50–950 ramp

primary
#1A0F70
secondary
#9BA833
accent
#F335DD
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #1A0F70

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

Preview Lab → · Contrast checker → · Palette generator →

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