#1A156C#1A156C

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

Color values

HEX#1A156C
RGBrgb(26, 21, 108)
HSLhsl(243, 67%, 25%)
HSVhsv(243, 81%, 42%)
CMYKcmyk(75.9%, 80.6%, 0%, 57.6%)
CIE-LABlab(14.61, 32.79, -49.02)
CIE-LCHlch(14.61, 58.97, 303.78°)
OKLaboklab(27.81% 0.0111 -0.1418)
OKLCHoklch(27.81% 0.142 274.5)
XYZxyz(3.4000, 1.8383, 14.3601)
Luminance0.0184 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A156C #676C15
analogous
#153C6C #1A156C #45156C
triadic
#1A156C #6C1A15 #156C1A
tetradic
#1A156C #6C153C #676C15 #156C45
square
#1A156C #6C153C #676C15 #156C45
split-complementary
#1A156C #6C4515 #3C6C15
monochromatic
#06051A #0E0B39 #1A156C #261F9F #3329D2

Accessibility & contrast

On white

15.35
#1A156C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A156C
15.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A156C#FFFFFF#000000##FFFFFF
##1A156C1.0015.351.3715.35
#FFFFFF15.351.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296E
Deuteranopia (green-blind)
#00216A
Tritanopia (blue-blind)
#002F40
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #1a156c;
/* rgb */ color: rgb(26, 21, 108);
/* oklch */ color: oklch(27.8% 0.142 274.5);
Tailwind
colors: {
  custom: {
    50: '#665497',
    500: '#1a156c',
    950: '#000000',
  },
}
SCSS
$custom: #1a156c;
$custom-light: #665497;
$custom-dark: #000000;
JSON
{
  "hex": "#1a156c",
  "rgb": {
    "r": 26,
    "g": 21,
    "b": 108
  },
  "hsl": {
    "h": 243.448,
    "s": 67.442,
    "l": 25.294
  },
  "oklch": {
    "l": 0.27814,
    "c": 0.14222,
    "h": 274.5
  },
  "luminance": 0.01839
}

Semantic roles & 50–950 ramp

primary
#1A156C
secondary
#9DA33A
accent
#EA3DE0
background
#F6F4F9
surface
#EBE8F2
border
#C6C4CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1A156C

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

Preview Lab → · Contrast checker → · Palette generator →

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