#1A387D#1A387D

#1A387D is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.2% C 0.123 H 263.7°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#1A387D
RGBrgb(26, 56, 125)
HSLhsl(222, 66%, 30%)
HSVhsv(222, 79%, 49%)
CMYKcmyk(79.2%, 55.2%, 0%, 51%)
CIE-LABlab(25.35, 15.66, -42.37)
CIE-LCHlch(25.35, 45.17, 290.28°)
OKLaboklab(36.19% -0.0135 -0.1221)
OKLCHoklch(36.19% 0.123 263.7)
XYZxyz(5.5405, 4.5280, 19.9800)
Luminance0.0453 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A387D #7D5F1A
analogous
#1A6A7D #1A387D #2D1A7D
triadic
#1A387D #7D1A38 #387D1A
tetradic
#1A387D #7D1A6A #7D5F1A #1A7D2D
square
#1A387D #7D1A6A #7D5F1A #1A7D2D
split-complementary
#1A387D #7D2D1A #6A7D1A
monochromatic
#050B19 #0F214A #1A387D #254FB0 #3B6AD6

Accessibility & contrast

On white

11.02
#1A387D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#1A387D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A387D
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A387D#FFFFFF#000000##FFFFFF
##1A387D1.0011.021.9111.02
#FFFFFF11.021.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04417F
Deuteranopia (green-blind)
#00387C
Tritanopia (blue-blind)
#004954
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1a387d;
/* rgb */ color: rgb(26, 56, 125);
/* oklch */ color: oklch(36.2% 0.123 263.7);
Tailwind
colors: {
  custom: {
    50: '#676ea3',
    500: '#1a387d',
    950: '#000000',
  },
}
SCSS
$custom: #1a387d;
$custom-light: #676ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#1a387d",
  "rgb": {
    "r": 26,
    "g": 56,
    "b": 125
  },
  "hsl": {
    "h": 221.818,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.36194,
    "c": 0.12281,
    "h": 263.7
  },
  "luminance": 0.04529
}

Semantic roles & 50–950 ramp

primary
#1A387D
secondary
#B18F42
accent
#B53FE9
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #1A387D

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

Preview Lab → · Contrast checker → · Palette generator →

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