#1A387C#1A387C

#1A387C is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.1% C 0.121 H 263.6°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#1A387C
RGBrgb(26, 56, 124)
HSLhsl(222, 65%, 29%)
HSVhsv(222, 79%, 49%)
CMYKcmyk(79%, 54.8%, 0%, 51.4%)
CIE-LABlab(25.27, 15.25, -41.86)
CIE-LCHlch(25.27, 44.55, 290.01°)
OKLaboklab(36.11% -0.0136 -0.1206)
OKLCHoklch(36.11% 0.121 263.6)
XYZxyz(5.4770, 4.5026, 19.6453)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A387C #7C5E1A
analogous
#1A697C #1A387C #2D1A7C
triadic
#1A387C #7C1A38 #387C1A
tetradic
#1A387C #7C1A69 #7C5E1A #1A7C2D
square
#1A387C #7C1A69 #7C5E1A #1A7C2D
split-complementary
#1A387C #7C2D1A #697C1A
monochromatic
#050B19 #0F2149 #1A387C #254FAF #3B6AD6

Accessibility & contrast

On white

11.05
#1A387C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A387C
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A387C#FFFFFF#000000##FFFFFF
##1A387C1.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06417E
Deuteranopia (green-blind)
#00387B
Tritanopia (blue-blind)
#004954
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1a387c;
/* rgb */ color: rgb(26, 56, 124);
/* oklch */ color: oklch(36.1% 0.121 263.6);
Tailwind
colors: {
  custom: {
    50: '#676ea2',
    500: '#1a387c',
    950: '#000000',
  },
}
SCSS
$custom: #1a387c;
$custom-light: #676ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#1a387c",
  "rgb": {
    "r": 26,
    "g": 56,
    "b": 124
  },
  "hsl": {
    "h": 221.633,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.36111,
    "c": 0.12134,
    "h": 263.6
  },
  "luminance": 0.04503
}

Semantic roles & 50–950 ramp

primary
#1A387C
secondary
#B08E42
accent
#B540E8
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #1A387C

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

Preview Lab → · Contrast checker → · Palette generator →

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