#1A387A#1A387A

#1A387A is a dark, moderate blue. Relative luminance 0.045; OKLCH L 35.9% C 0.118 H 263.3°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#1A387A
RGBrgb(26, 56, 122)
HSLhsl(221, 65%, 29%)
HSVhsv(221, 79%, 48%)
CMYKcmyk(78.7%, 54.1%, 0%, 52.2%)
CIE-LABlab(25.11, 14.43, -40.85)
CIE-LCHlch(25.11, 43.32, 289.45°)
OKLaboklab(35.95% -0.0138 -0.1176)
OKLCHoklch(35.95% 0.118 263.3)
XYZxyz(5.3518, 4.4525, 18.9859)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A387A #7A5C1A
analogous
#1A687A #1A387A #2C1A7A
triadic
#1A387A #7A1A38 #387A1A
tetradic
#1A387A #7A1A68 #7A5C1A #1A7A2C
square
#1A387A #7A1A68 #7A5C1A #1A7A2C
split-complementary
#1A387A #7A2C1A #687A1A
monochromatic
#050C19 #0F2148 #1A387A #254FAC #396AD5

Accessibility & contrast

On white

11.11
#1A387A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#1A387A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A387A
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A387A#FFFFFF#000000##FFFFFF
##1A387A1.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B407C
Deuteranopia (green-blind)
#003779
Tritanopia (blue-blind)
#004853
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1a387a;
/* rgb */ color: rgb(26, 56, 122);
/* oklch */ color: oklch(35.9% 0.118 263.3);
Tailwind
colors: {
  custom: {
    50: '#666ea1',
    500: '#1a387a',
    950: '#000000',
  },
}
SCSS
$custom: #1a387a;
$custom-light: #666ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#1a387a",
  "rgb": {
    "r": 26,
    "g": 56,
    "b": 122
  },
  "hsl": {
    "h": 221.25,
    "s": 64.865,
    "l": 29.02
  },
  "oklch": {
    "l": 0.35946,
    "c": 0.1184,
    "h": 263.3
  },
  "luminance": 0.04453
}

Semantic roles & 50–950 ramp

primary
#1A387A
secondary
#AE8C41
accent
#B340E8
background
#F6F6FA
surface
#EBEBF3
border
#C6C6CD
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #1A387A

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

Preview Lab → · Contrast checker → · Palette generator →

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