#1A387B#1A387B

#1A387B is a dark, moderate blue. Relative luminance 0.045; OKLCH L 36.0% C 0.120 H 263.4°. Best body text is #FFFFFF at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#1A387B
RGBrgb(26, 56, 123)
HSLhsl(221, 65%, 29%)
HSVhsv(221, 79%, 48%)
CMYKcmyk(78.9%, 54.5%, 0%, 51.8%)
CIE-LABlab(25.19, 14.84, -41.36)
CIE-LCHlch(25.19, 43.94, 289.74°)
OKLaboklab(36.03% -0.0137 -0.1191)
OKLCHoklch(36.03% 0.12 263.4)
XYZxyz(5.4141, 4.4774, 19.3139)
Luminance0.0448 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A387B #7B5D1A
analogous
#1A697B #1A387B #2C1A7B
triadic
#1A387B #7B1A38 #387B1A
tetradic
#1A387B #7B1A69 #7B5D1A #1A7B2C
square
#1A387B #7B1A69 #7B5D1A #1A7B2C
split-complementary
#1A387B #7B2C1A #697B1A
monochromatic
#050C19 #0F2148 #1A387B #254FAE #3A6AD5

Accessibility & contrast

On white

11.08
#1A387B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#1A387B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A387B
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A387B#FFFFFF#000000##FFFFFF
##1A387B1.0011.081.9011.08
#FFFFFF11.081.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09407D
Deuteranopia (green-blind)
#00387A
Tritanopia (blue-blind)
#004854
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1a387b;
/* rgb */ color: rgb(26, 56, 123);
/* oklch */ color: oklch(36.0% 0.120 263.4);
Tailwind
colors: {
  custom: {
    50: '#666ea2',
    500: '#1a387b',
    950: '#000000',
  },
}
SCSS
$custom: #1a387b;
$custom-light: #666ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#1a387b",
  "rgb": {
    "r": 26,
    "g": 56,
    "b": 123
  },
  "hsl": {
    "h": 221.443,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.36028,
    "c": 0.11987,
    "h": 263.4
  },
  "luminance": 0.04478
}

Semantic roles & 50–950 ramp

primary
#1A387B
secondary
#AF8D42
accent
#B440E8
background
#F6F6FA
surface
#EBEBF3
border
#C6C6CD
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #1A387B

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

Preview Lab → · Contrast checker → · Palette generator →

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