#1A0F7F#1A0F7F

#1A0F7F is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.4% C 0.171 H 272.7°. Best body text is #FFFFFF at 14.80:1 contrast (WCAG AA passes).

Color values

HEX#1A0F7F
RGBrgb(26, 15, 127)
HSLhsl(246, 79%, 28%)
HSVhsv(246, 88%, 50%)
CMYKcmyk(79.5%, 88.2%, 0%, 50.2%)
CIE-LABlab(15.97, 42.09, -59.03)
CIE-LCHlch(15.97, 72.50, 305.49°)
OKLaboklab(29.45% 0.0081 -0.1707)
OKLCHoklch(29.45% 0.171 272.7)
XYZxyz(4.4263, 2.0931, 20.2453)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0F7F #747F0F
analogous
#0F3C7F #1A0F7F #520F7F
triadic
#1A0F7F #7F1A0F #0F7F1A
tetradic
#1A0F7F #7F0F3C #747F0F #0F7F52
square
#1A0F7F #7F0F3C #747F0F #0F7F52
split-complementary
#1A0F7F #7F520F #3C7F0F
monochromatic
#06031B #0F0948 #1A0F7F #2515B6 #3623E5

Accessibility & contrast

On white

14.80
#1A0F7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#1A0F7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A0F7F
14.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0F7F#FFFFFF#000000##FFFFFF
##1A0F7F1.0014.801.4214.80
#FFFFFF14.801.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D82
Deuteranopia (green-blind)
#00227D
Tritanopia (blue-blind)
#00344A
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1a0f7f;
/* rgb */ color: rgb(26, 15, 127);
/* oklch */ color: oklch(29.4% 0.171 272.7);
Tailwind
colors: {
  custom: {
    50: '#6b52a5',
    500: '#1a0f7f',
    950: '#000000',
  },
}
SCSS
$custom: #1a0f7f;
$custom-light: #6b52a5;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0f7f",
  "rgb": {
    "r": 26,
    "g": 15,
    "b": 127
  },
  "hsl": {
    "h": 245.893,
    "s": 78.873,
    "l": 27.843
  },
  "oklch": {
    "l": 0.29445,
    "c": 0.1709,
    "h": 272.7
  },
  "luminance": 0.02094
}

Semantic roles & 50–950 ramp

primary
#1A0F7F
secondary
#A9B534
accent
#F532E2
background
#F7F4FA
surface
#EDE7F4
border
#C8C3CE
text
#08020F
muted
#7B787F

Preview Lab

Preview with #1A0F7F

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

Preview Lab → · Contrast checker → · Palette generator →

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