#1A126E#1A126E

#1A126E is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.6% C 0.148 H 274.7°. Best body text is #FFFFFF at 15.49:1 contrast (WCAG AA passes).

Color values

HEX#1A126E
RGBrgb(26, 18, 110)
HSLhsl(245, 72%, 25%)
HSVhsv(245, 84%, 43%)
CMYKcmyk(76.4%, 83.6%, 0%, 56.9%)
CIE-LABlab(14.27, 35.15, -50.89)
CIE-LCHlch(14.27, 61.85, 304.63°)
OKLaboklab(27.65% 0.012 -0.1472)
OKLCHoklch(27.65% 0.148 274.7)
XYZxyz(3.4559, 1.7777, 14.9098)
Luminance0.0178 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A126E #666E12
analogous
#12386E #1A126E #48126E
triadic
#1A126E #6E1A12 #126E1A
tetradic
#1A126E #6E1238 #666E12 #126E48
square
#1A126E #6E1238 #666E12 #126E48
split-complementary
#1A126E #6E4812 #386E12
monochromatic
#06041A #0E0939 #1A126E #261BA3 #3323D7

Accessibility & contrast

On white

15.49
#1A126E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#1A126E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A126E
15.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A126E#FFFFFF#000000##FFFFFF
##1A126E1.0015.491.3615.49
#FFFFFF15.491.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002871
Deuteranopia (green-blind)
#00206C
Tritanopia (blue-blind)
#002E40
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #1a126e;
/* rgb */ color: rgb(26, 18, 110);
/* oklch */ color: oklch(27.6% 0.148 274.7);
Tailwind
colors: {
  custom: {
    50: '#665299',
    500: '#1a126e',
    950: '#000000',
  },
}
SCSS
$custom: #1a126e;
$custom-light: #665299;
$custom-dark: #000000;
JSON
{
  "hex": "#1a126e",
  "rgb": {
    "r": 26,
    "g": 18,
    "b": 110
  },
  "hsl": {
    "h": 245.217,
    "s": 71.875,
    "l": 25.098
  },
  "oklch": {
    "l": 0.27647,
    "c": 0.14766,
    "h": 274.7
  },
  "luminance": 0.01778
}

Semantic roles & 50–950 ramp

primary
#1A126E
secondary
#9CA537
accent
#EF39DF
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #1A126E

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

Preview Lab → · Contrast checker → · Palette generator →

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