#1A3E8D#1A3E8D

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

Color values

HEX#1A3E8D
RGBrgb(26, 62, 141)
HSLhsl(221, 69%, 33%)
HSVhsv(221, 82%, 55%)
CMYKcmyk(81.6%, 56%, 0%, 44.7%)
CIE-LABlab(28.35, 17.98, -47.47)
CIE-LCHlch(28.35, 50.76, 290.75°)
OKLaboklab(38.86% -0.0166 -0.1369)
OKLCHoklch(38.86% 0.138 263.1)
XYZxyz(6.9546, 5.5871, 25.9060)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3E8D #8D691A
analogous
#1A788D #1A3E8D #2F1A8D
triadic
#1A3E8D #8D1A3E #3E8D1A
tetradic
#1A3E8D #8D1A78 #8D691A #1A8D2F
square
#1A3E8D #8D1A78 #8D691A #1A8D2F
split-complementary
#1A3E8D #8D2F1A #788D1A
monochromatic
#071126 #102759 #1A3E8D #2455C1 #4574DD

Accessibility & contrast

On white

9.92
#1A3E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A3E8D
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3E8D#FFFFFF#000000##FFFFFF
##1A3E8D1.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a3e8d;
/* rgb */ color: rgb(26, 62, 141);
/* oklch */ color: oklch(38.9% 0.138 263.1);
Tailwind
colors: {
  custom: {
    50: '#6b72af',
    500: '#1a3e8d',
    950: '#000000',
  },
}
SCSS
$custom: #1a3e8d;
$custom-light: #6b72af;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3e8d",
  "rgb": {
    "r": 26,
    "g": 62,
    "b": 141
  },
  "hsl": {
    "h": 221.217,
    "s": 68.862,
    "l": 32.745
  },
  "oklch": {
    "l": 0.38863,
    "c": 0.13795,
    "h": 263.1
  },
  "luminance": 0.05588
}

Semantic roles & 50–950 ramp

primary
#1A3E8D
secondary
#BE9845
accent
#B53CEC
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #1A3E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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