#1A126F#1A126F

#1A126F is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.8% C 0.149 H 274.5°. Best body text is #FFFFFF at 15.44:1 contrast (WCAG AA passes).

Color values

HEX#1A126F
RGBrgb(26, 18, 111)
HSLhsl(245, 72%, 25%)
HSVhsv(245, 84%, 44%)
CMYKcmyk(76.6%, 83.8%, 0%, 56.5%)
CIE-LABlab(14.40, 35.49, -51.34)
CIE-LCHlch(14.40, 62.41, 304.65°)
OKLaboklab(27.77% 0.0117 -0.1485)
OKLCHoklch(27.77% 0.149 274.5)
XYZxyz(3.5106, 1.7996, 15.1982)
Luminance0.0180 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A126F #676F12
analogous
#12396F #1A126F #48126F
triadic
#1A126F #6F1A12 #126F1A
tetradic
#1A126F #6F1239 #676F12 #126F48
square
#1A126F #6F1239 #676F12 #126F48
split-complementary
#1A126F #6F4812 #396F12
monochromatic
#06041A #0E093A #1A126F #261BA4 #3323D8

Accessibility & contrast

On white

15.44
#1A126F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A126F
15.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A126F#FFFFFF#000000##FFFFFF
##1A126F1.0015.441.3615.44
#FFFFFF15.441.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002972
Deuteranopia (green-blind)
#00206D
Tritanopia (blue-blind)
#002F41
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #1a126f;
/* rgb */ color: rgb(26, 18, 111);
/* oklch */ color: oklch(27.8% 0.149 274.5);
Tailwind
colors: {
  custom: {
    50: '#675399',
    500: '#1a126f',
    950: '#000000',
  },
}
SCSS
$custom: #1a126f;
$custom-light: #675399;
$custom-dark: #000000;
JSON
{
  "hex": "#1a126f",
  "rgb": {
    "r": 26,
    "g": 18,
    "b": 111
  },
  "hsl": {
    "h": 245.161,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.27769,
    "c": 0.14893,
    "h": 274.5
  },
  "luminance": 0.018
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1A126F

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

Preview Lab → · Contrast checker → · Palette generator →

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