#1A137E#1A137E

#1A137E is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.7% C 0.167 H 272.5°. Best body text is #FFFFFF at 14.60:1 contrast (WCAG AA passes).

Color values

HEX#1A137E
RGBrgb(26, 19, 126)
HSLhsl(244, 74%, 28%)
HSVhsv(244, 85%, 49%)
CMYKcmyk(79.4%, 84.9%, 0%, 50.6%)
CIE-LABlab(16.46, 39.94, -57.58)
CIE-LCHlch(16.46, 70.07, 304.74°)
OKLaboklab(29.75% 0.0073 -0.1666)
OKLCHoklch(29.75% 0.167 272.5)
XYZxyz(4.4235, 2.1912, 19.9244)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A137E #777E13
analogous
#13417E #1A137E #4F137E
triadic
#1A137E #7E1A13 #137E1A
tetradic
#1A137E #7E1341 #777E13 #137E4F
square
#1A137E #7E1341 #777E13 #137E4F
split-complementary
#1A137E #7E4F13 #417E13
monochromatic
#05041B #0F0B49 #1A137E #251BB3 #382CDF

Accessibility & contrast

On white

14.60
#1A137E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#1A137E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A137E
14.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A137E#FFFFFF#000000##FFFFFF
##1A137E1.0014.601.4414.60
#FFFFFF14.601.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E81
Deuteranopia (green-blind)
#00237C
Tritanopia (blue-blind)
#00354A
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #1a137e;
/* rgb */ color: rgb(26, 19, 126);
/* oklch */ color: oklch(29.7% 0.167 272.5);
Tailwind
colors: {
  custom: {
    50: '#6b54a5',
    500: '#1a137e',
    950: '#000000',
  },
}
SCSS
$custom: #1a137e;
$custom-light: #6b54a5;
$custom-dark: #000000;
JSON
{
  "hex": "#1a137e",
  "rgb": {
    "r": 26,
    "g": 19,
    "b": 126
  },
  "hsl": {
    "h": 243.925,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.29747,
    "c": 0.16675,
    "h": 272.5
  },
  "luminance": 0.02192
}

Semantic roles & 50–950 ramp

primary
#1A137E
secondary
#ACB439
accent
#F037E4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #1A137E

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

Preview Lab → · Contrast checker → · Palette generator →

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