#1A387F#1A387F

#1A387F is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.4% C 0.126 H 263.9°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#1A387F
RGBrgb(26, 56, 127)
HSLhsl(222, 66%, 30%)
HSVhsv(222, 80%, 50%)
CMYKcmyk(79.5%, 55.9%, 0%, 50.2%)
CIE-LABlab(25.50, 16.48, -43.37)
CIE-LCHlch(25.50, 46.39, 290.80°)
OKLaboklab(36.36% -0.0133 -0.125)
OKLCHoklch(36.36% 0.126 263.9)
XYZxyz(5.6696, 4.5796, 20.6597)
Luminance0.0458 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A387F #7F611A
analogous
#1A6B7F #1A387F #2E1A7F
triadic
#1A387F #7F1A38 #387F1A
tetradic
#1A387F #7F1A6B #7F611A #1A7F2E
square
#1A387F #7F1A6B #7F611A #1A7F2E
split-complementary
#1A387F #7F2E1A #6B7F1A
monochromatic
#050B19 #10224C #1A387F #244EB2 #3C6AD7

Accessibility & contrast

On white

10.96
#1A387F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#1A387F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A387F
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A387F#FFFFFF#000000##FFFFFF
##1A387F1.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004181
Deuteranopia (green-blind)
#00387E
Tritanopia (blue-blind)
#004955
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1a387f;
/* rgb */ color: rgb(26, 56, 127);
/* oklch */ color: oklch(36.4% 0.126 263.9);
Tailwind
colors: {
  custom: {
    50: '#676ea5',
    500: '#1a387f',
    950: '#000000',
  },
}
SCSS
$custom: #1a387f;
$custom-light: #676ea5;
$custom-dark: #000000;
JSON
{
  "hex": "#1a387f",
  "rgb": {
    "r": 26,
    "g": 56,
    "b": 127
  },
  "hsl": {
    "h": 222.178,
    "s": 66.013,
    "l": 30
  },
  "oklch": {
    "l": 0.36363,
    "c": 0.12572,
    "h": 263.9
  },
  "luminance": 0.0458
}

Semantic roles & 50–950 ramp

primary
#1A387F
secondary
#B39142
accent
#B63FE9
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #1A387F

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

Preview Lab → · Contrast checker → · Palette generator →

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