#1A137D#1A137D

#1A137D is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.6% C 0.166 H 272.6°. Best body text is #FFFFFF at 14.65:1 contrast (WCAG AA passes).

Color values

HEX#1A137D
RGBrgb(26, 19, 125)
HSLhsl(244, 74%, 28%)
HSVhsv(244, 85%, 49%)
CMYKcmyk(79.2%, 84.8%, 0%, 51%)
CIE-LABlab(16.33, 39.61, -57.15)
CIE-LCHlch(16.33, 69.54, 304.72°)
OKLaboklab(29.62% 0.0076 -0.1653)
OKLCHoklch(29.62% 0.166 272.6)
XYZxyz(4.3593, 2.1656, 19.5863)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A137D #767D13
analogous
#13417D #1A137D #4F137D
triadic
#1A137D #7D1A13 #137D1A
tetradic
#1A137D #7D1341 #767D13 #137D4F
square
#1A137D #7D1341 #767D13 #137D4F
split-complementary
#1A137D #7D4F13 #417D13
monochromatic
#06041B #0F0B48 #1A137D #251BB2 #372CDF

Accessibility & contrast

On white

14.65
#1A137D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A137D
14.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A137D#FFFFFF#000000##FFFFFF
##1A137D1.0014.651.4314.65
#FFFFFF14.651.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a137d;
/* rgb */ color: rgb(26, 19, 125);
/* oklch */ color: oklch(29.6% 0.166 272.6);
Tailwind
colors: {
  custom: {
    50: '#6a54a4',
    500: '#1a137d',
    950: '#000000',
  },
}
SCSS
$custom: #1a137d;
$custom-light: #6a54a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1a137d",
  "rgb": {
    "r": 26,
    "g": 19,
    "b": 125
  },
  "hsl": {
    "h": 243.962,
    "s": 73.611,
    "l": 28.235
  },
  "oklch": {
    "l": 0.29622,
    "c": 0.16552,
    "h": 272.6
  },
  "luminance": 0.02166
}

Semantic roles & 50–950 ramp

primary
#1A137D
secondary
#ABB339
accent
#F038E4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #1A137D

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

Preview Lab → · Contrast checker → · Palette generator →

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