#1A0F71#1A0F71

#1A0F71 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.7% C 0.154 H 274.6°. Best body text is #FFFFFF at 15.55:1 contrast (WCAG AA passes).

Color values

HEX#1A0F71
RGBrgb(26, 15, 113)
HSLhsl(247, 77%, 25%)
HSVhsv(247, 87%, 44%)
CMYKcmyk(77%, 86.7%, 0%, 55.7%)
CIE-LABlab(14.13, 37.66, -53.07)
CIE-LCHlch(14.13, 65.08, 305.36°)
OKLaboklab(27.66% 0.0123 -0.1534)
OKLCHoklch(27.66% 0.154 274.6)
XYZxyz(3.5765, 1.7532, 15.7695)
Luminance0.0175 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0F71 #66710F
analogous
#0F3571 #1A0F71 #4B0F71
triadic
#1A0F71 #711A0F #0F711A
tetradic
#1A0F71 #710F35 #66710F #0F714B
square
#1A0F71 #710F35 #66710F #0F714B
split-complementary
#1A0F71 #714B0F #35710F
monochromatic
#06041B #0E083B #1A0F71 #2616A7 #331DDD

Accessibility & contrast

On white

15.55
#1A0F71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A0F71
15.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0F71#FFFFFF#000000##FFFFFF
##1A0F711.0015.551.3515.55
#FFFFFF15.551.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002874
Deuteranopia (green-blind)
#001F6F
Tritanopia (blue-blind)
#002F41
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #1a0f71;
/* rgb */ color: rgb(26, 15, 113);
/* oklch */ color: oklch(27.7% 0.154 274.6);
Tailwind
colors: {
  custom: {
    50: '#67519b',
    500: '#1a0f71',
    950: '#000000',
  },
}
SCSS
$custom: #1a0f71;
$custom-light: #67519b;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0f71",
  "rgb": {
    "r": 26,
    "g": 15,
    "b": 113
  },
  "hsl": {
    "h": 246.735,
    "s": 76.563,
    "l": 25.098
  },
  "oklch": {
    "l": 0.2766,
    "c": 0.15394,
    "h": 274.6
  },
  "luminance": 0.01754
}

Semantic roles & 50–950 ramp

primary
#1A0F71
secondary
#9CA933
accent
#F335DE
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #1A0F71

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

Preview Lab → · Contrast checker → · Palette generator →

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