#1A137F#1A137F

#1A137F is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.9% C 0.168 H 272.4°. Best body text is #FFFFFF at 14.55:1 contrast (WCAG AA passes).

Color values

HEX#1A137F
RGBrgb(26, 19, 127)
HSLhsl(244, 74%, 29%)
HSVhsv(244, 85%, 50%)
CMYKcmyk(79.5%, 85%, 0%, 50.2%)
CIE-LABlab(16.59, 40.26, -58.00)
CIE-LCHlch(16.59, 70.61, 304.76°)
OKLaboklab(29.87% 0.007 -0.1678)
OKLCHoklch(29.87% 0.168 272.4)
XYZxyz(4.4884, 2.2172, 20.2660)
Luminance0.0222 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A137F #787F13
analogous
#13427F #1A137F #50137F
triadic
#1A137F #7F1A13 #137F1A
tetradic
#1A137F #7F1342 #787F13 #137F50
square
#1A137F #7F1342 #787F13 #137F50
split-complementary
#1A137F #7F5013 #427F13
monochromatic
#05041B #0F0B4A #1A137F #251BB4 #382DE0

Accessibility & contrast

On white

14.55
#1A137F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A137F
14.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A137F#FFFFFF#000000##FFFFFF
##1A137F1.0014.551.4414.55
#FFFFFF14.551.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E82
Deuteranopia (green-blind)
#00247D
Tritanopia (blue-blind)
#00364A
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #1a137f;
/* rgb */ color: rgb(26, 19, 127);
/* oklch */ color: oklch(29.9% 0.168 272.4);
Tailwind
colors: {
  custom: {
    50: '#6b54a5',
    500: '#1a137f',
    950: '#000000',
  },
}
SCSS
$custom: #1a137f;
$custom-light: #6b54a5;
$custom-dark: #000000;
JSON
{
  "hex": "#1a137f",
  "rgb": {
    "r": 26,
    "g": 19,
    "b": 127
  },
  "hsl": {
    "h": 243.889,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.29871,
    "c": 0.16797,
    "h": 272.4
  },
  "luminance": 0.02218
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1A137F

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

Preview Lab → · Contrast checker → · Palette generator →

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