#1A156E#1A156E

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

Color values

HEX#1A156E
RGBrgb(26, 21, 110)
HSLhsl(243, 68%, 26%)
HSVhsv(243, 81%, 43%)
CMYKcmyk(76.4%, 80.9%, 0%, 56.9%)
CIE-LABlab(14.85, 33.48, -49.93)
CIE-LCHlch(14.85, 60.12, 303.85°)
OKLaboklab(28.05% 0.0107 -0.1444)
OKLCHoklch(28.05% 0.145 274.2)
XYZxyz(3.5077, 1.8814, 14.9271)
Luminance0.0188 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A156E #696E15
analogous
#153C6E #1A156E #46156E
triadic
#1A156E #6E1A15 #156E1A
tetradic
#1A156E #6E153C #696E15 #156E46
square
#1A156E #6E153C #696E15 #156E46
split-complementary
#1A156E #6E4615 #3C6E15
monochromatic
#06051A #0E0B3B #1A156E #261FA1 #3229D5

Accessibility & contrast

On white

15.26
#1A156E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#1A156E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A156E
15.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A156E#FFFFFF#000000##FFFFFF
##1A156E1.0015.261.3815.26
#FFFFFF15.261.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002971
Deuteranopia (green-blind)
#00216C
Tritanopia (blue-blind)
#003041
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #1a156e;
/* rgb */ color: rgb(26, 21, 110);
/* oklch */ color: oklch(28.1% 0.145 274.2);
Tailwind
colors: {
  custom: {
    50: '#665499',
    500: '#1a156e',
    950: '#000000',
  },
}
SCSS
$custom: #1a156e;
$custom-light: #665499;
$custom-dark: #000000;
JSON
{
  "hex": "#1a156e",
  "rgb": {
    "r": 26,
    "g": 21,
    "b": 110
  },
  "hsl": {
    "h": 243.371,
    "s": 67.939,
    "l": 25.686
  },
  "oklch": {
    "l": 0.28051,
    "c": 0.14483,
    "h": 274.2
  },
  "luminance": 0.01882
}

Semantic roles & 50–950 ramp

primary
#1A156E
secondary
#9EA43A
accent
#EB3DE1
background
#F6F4F9
surface
#EBE8F2
border
#C6C4CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1A156E

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

Preview Lab → · Contrast checker → · Palette generator →

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