#1A0F6E#1A0F6E

#1A0F6E is a dark, vivid blue. Relative luminance 0.017; OKLCH L 27.3% C 0.150 H 275.0°. Best body text is #FFFFFF at 15.70:1 contrast (WCAG AA passes).

Color values

HEX#1A0F6E
RGBrgb(26, 15, 110)
HSLhsl(247, 76%, 25%)
HSVhsv(247, 86%, 43%)
CMYKcmyk(76.4%, 86.4%, 0%, 56.9%)
CIE-LABlab(13.75, 36.69, -51.76)
CIE-LCHlch(13.75, 63.44, 305.33°)
OKLaboklab(27.28% 0.0132 -0.1496)
OKLCHoklch(27.28% 0.15 275)
XYZxyz(3.4104, 1.6867, 14.8947)
Luminance0.0169 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0F6E #636E0F
analogous
#0F346E #1A0F6E #4A0F6E
triadic
#1A0F6E #6E1A0F #0F6E1A
tetradic
#1A0F6E #6E0F34 #636E0F #0F6E4A
square
#1A0F6E #6E0F34 #636E0F #0F6E4A
split-complementary
#1A0F6E #6E4A0F #346E0F
monochromatic
#06041B #0D0838 #1A0F6E #2716A4 #331EDA

Accessibility & contrast

On white

15.70
#1A0F6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#1A0F6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A0F6E
15.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0F6E#FFFFFF#000000##FFFFFF
##1A0F6E1.0015.701.3415.70
#FFFFFF15.701.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002771
Deuteranopia (green-blind)
#001F6C
Tritanopia (blue-blind)
#002D40
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #1a0f6e;
/* rgb */ color: rgb(26, 15, 110);
/* oklch */ color: oklch(27.3% 0.150 275.0);
Tailwind
colors: {
  custom: {
    50: '#675199',
    500: '#1a0f6e',
    950: '#000000',
  },
}
SCSS
$custom: #1a0f6e;
$custom-light: #675199;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0f6e",
  "rgb": {
    "r": 26,
    "g": 15,
    "b": 110
  },
  "hsl": {
    "h": 246.947,
    "s": 76,
    "l": 24.51
  },
  "oklch": {
    "l": 0.27283,
    "c": 0.15022,
    "h": 275
  },
  "luminance": 0.01687
}

Semantic roles & 50–950 ramp

primary
#1A0F6E
secondary
#99A633
accent
#F335DD
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #1A0F6E

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

Preview Lab → · Contrast checker → · Palette generator →

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