#1A387E#1A387E

#1A387E is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.3% C 0.124 H 263.8°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#1A387E
RGBrgb(26, 56, 126)
HSLhsl(222, 66%, 30%)
HSVhsv(222, 79%, 49%)
CMYKcmyk(79.4%, 55.6%, 0%, 50.6%)
CIE-LABlab(25.42, 16.07, -42.87)
CIE-LCHlch(25.42, 45.78, 290.54°)
OKLaboklab(36.28% -0.0134 -0.1235)
OKLCHoklch(36.28% 0.124 263.8)
XYZxyz(5.6047, 4.5537, 20.3182)
Luminance0.0455 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A387E #7E601A
analogous
#1A6A7E #1A387E #2E1A7E
triadic
#1A387E #7E1A38 #387E1A
tetradic
#1A387E #7E1A6A #7E601A #1A7E2E
square
#1A387E #7E1A6A #7E601A #1A7E2E
split-complementary
#1A387E #7E2E1A #6A7E1A
monochromatic
#050B19 #10214B #1A387E #244FB1 #3C6AD7

Accessibility & contrast

On white

10.99
#1A387E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A387E
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A387E#FFFFFF#000000##FFFFFF
##1A387E1.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a387e;
/* rgb */ color: rgb(26, 56, 126);
/* oklch */ color: oklch(36.3% 0.124 263.8);
Tailwind
colors: {
  custom: {
    50: '#676ea4',
    500: '#1a387e',
    950: '#000000',
  },
}
SCSS
$custom: #1a387e;
$custom-light: #676ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#1a387e",
  "rgb": {
    "r": 26,
    "g": 56,
    "b": 126
  },
  "hsl": {
    "h": 222,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.36278,
    "c": 0.12427,
    "h": 263.8
  },
  "luminance": 0.04554
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1A387E

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

Preview Lab → · Contrast checker → · Palette generator →

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