#1A1074#1A1074

#1A1074 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.1% C 0.157 H 274.0°. Best body text is #FFFFFF at 15.33:1 contrast (WCAG AA passes).

Color values

HEX#1A1074
RGBrgb(26, 16, 116)
HSLhsl(246, 76%, 26%)
HSVhsv(246, 86%, 45%)
CMYKcmyk(77.6%, 86.2%, 0%, 54.5%)
CIE-LABlab(14.68, 38.15, -54.11)
CIE-LCHlch(14.68, 66.20, 305.19°)
OKLaboklab(28.15% 0.011 -0.1565)
OKLCHoklch(28.15% 0.157 274)
XYZxyz(3.7626, 1.8508, 16.6785)
Luminance0.0185 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1074 #6A7410
analogous
#103874 #1A1074 #4C1074
triadic
#1A1074 #741A10 #10741A
tetradic
#1A1074 #741038 #6A7410 #10744C
square
#1A1074 #741038 #6A7410 #10744C
split-complementary
#1A1074 #744C10 #387410
monochromatic
#06041B #0E093E #1A1074 #2617AA #321FE0

Accessibility & contrast

On white

15.33
#1A1074 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#1A1074 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A1074
15.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1074#FFFFFF#000000##FFFFFF
##1A10741.0015.331.3715.33
#FFFFFF15.331.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002977
Deuteranopia (green-blind)
#002072
Tritanopia (blue-blind)
#003043
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #1a1074;
/* rgb */ color: rgb(26, 16, 116);
/* oklch */ color: oklch(28.1% 0.157 274.0);
Tailwind
colors: {
  custom: {
    50: '#68529d',
    500: '#1a1074',
    950: '#000000',
  },
}
SCSS
$custom: #1a1074;
$custom-light: #68529d;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1074",
  "rgb": {
    "r": 26,
    "g": 16,
    "b": 116
  },
  "hsl": {
    "h": 246,
    "s": 75.758,
    "l": 25.882
  },
  "oklch": {
    "l": 0.2815,
    "c": 0.15686,
    "h": 274
  },
  "luminance": 0.01851
}

Semantic roles & 50–950 ramp

primary
#1A1074
secondary
#9FAB35
accent
#F235DF
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #1A1074

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

Preview Lab → · Contrast checker → · Palette generator →

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