#1A3E8E#1A3E8E

#1A3E8E is a dark, vivid blue. Relative luminance 0.056; OKLCH L 38.9% C 0.139 H 263.2°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#1A3E8E
RGBrgb(26, 62, 142)
HSLhsl(221, 69%, 33%)
HSVhsv(221, 82%, 56%)
CMYKcmyk(81.7%, 56.3%, 0%, 44.3%)
CIE-LABlab(28.42, 18.39, -47.96)
CIE-LCHlch(28.42, 51.36, 290.98°)
OKLaboklab(38.95% -0.0165 -0.1384)
OKLCHoklch(38.95% 0.139 263.2)
XYZxyz(7.0294, 5.6170, 26.2997)
Luminance0.0562 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3E8E #8E6A1A
analogous
#1A788E #1A3E8E #301A8E
triadic
#1A3E8E #8E1A3E #3E8E1A
tetradic
#1A3E8E #8E1A78 #8E6A1A #1A8E30
square
#1A3E8E #8E1A78 #8E6A1A #1A8E30
split-complementary
#1A3E8E #8E301A #788E1A
monochromatic
#071127 #11275A #1A3E8E #2355C2 #4574DD

Accessibility & contrast

On white

9.89
#1A3E8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#1A3E8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3E8E
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3E8E#FFFFFF#000000##FFFFFF
##1A3E8E1.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004991
Deuteranopia (green-blind)
#003E8C
Tritanopia (blue-blind)
#00525F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1a3e8e;
/* rgb */ color: rgb(26, 62, 142);
/* oklch */ color: oklch(38.9% 0.139 263.2);
Tailwind
colors: {
  custom: {
    50: '#6b72b0',
    500: '#1a3e8e',
    950: '#000000',
  },
}
SCSS
$custom: #1a3e8e;
$custom-light: #6b72b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3e8e",
  "rgb": {
    "r": 26,
    "g": 62,
    "b": 142
  },
  "hsl": {
    "h": 221.379,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.38948,
    "c": 0.13937,
    "h": 263.2
  },
  "luminance": 0.05618
}

Semantic roles & 50–950 ramp

primary
#1A3E8E
secondary
#BE9945
accent
#B53CEC
background
#F6F6FA
surface
#ECECF5
border
#C7C7CF
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #1A3E8E

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

Preview Lab → · Contrast checker → · Palette generator →

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