#1A137C#1A137C

#1A137C is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.5% C 0.164 H 272.7°. Best body text is #FFFFFF at 14.70:1 contrast (WCAG AA passes).

Color values

HEX#1A137C
RGBrgb(26, 19, 124)
HSLhsl(244, 73%, 28%)
HSVhsv(244, 85%, 49%)
CMYKcmyk(79%, 84.7%, 0%, 51.4%)
CIE-LABlab(16.21, 39.28, -56.73)
CIE-LCHlch(16.21, 69.00, 304.70°)
OKLaboklab(29.5% 0.0078 -0.1641)
OKLCHoklch(29.5% 0.164 272.7)
XYZxyz(4.2957, 2.1401, 19.2516)
Luminance0.0214 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A137C #757C13
analogous
#13407C #1A137C #4E137C
triadic
#1A137C #7C1A13 #137C1A
tetradic
#1A137C #7C1340 #757C13 #137C4E
square
#1A137C #7C1340 #757C13 #137C4E
split-complementary
#1A137C #7C4E13 #407C13
monochromatic
#06041B #0F0B47 #1A137C #251BB1 #372BDF

Accessibility & contrast

On white

14.70
#1A137C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#1A137C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A137C
14.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A137C#FFFFFF#000000##FFFFFF
##1A137C1.0014.701.4314.70
#FFFFFF14.701.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D7F
Deuteranopia (green-blind)
#00237A
Tritanopia (blue-blind)
#003549
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1a137c;
/* rgb */ color: rgb(26, 19, 124);
/* oklch */ color: oklch(29.5% 0.164 272.7);
Tailwind
colors: {
  custom: {
    50: '#6a54a3',
    500: '#1a137c',
    950: '#000000',
  },
}
SCSS
$custom: #1a137c;
$custom-light: #6a54a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1a137c",
  "rgb": {
    "r": 26,
    "g": 19,
    "b": 124
  },
  "hsl": {
    "h": 244,
    "s": 73.427,
    "l": 28.039
  },
  "oklch": {
    "l": 0.29497,
    "c": 0.1643,
    "h": 272.7
  },
  "luminance": 0.02141
}

Semantic roles & 50–950 ramp

primary
#1A137C
secondary
#AAB239
accent
#F038E4
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F

Preview Lab

Preview with #1A137C

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

Preview Lab → · Contrast checker → · Palette generator →

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