#1A3D8E#1A3D8E

#1A3D8E is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.7% C 0.141 H 263.5°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#1A3D8E
RGBrgb(26, 61, 142)
HSLhsl(222, 69%, 33%)
HSVhsv(222, 82%, 56%)
CMYKcmyk(81.7%, 57%, 0%, 44.3%)
CIE-LABlab(28.14, 19.08, -48.42)
CIE-LCHlch(28.14, 52.05, 291.51°)
OKLaboklab(38.73% -0.0158 -0.1398)
OKLCHoklch(38.73% 0.141 263.5)
XYZxyz(6.9755, 5.5093, 26.2817)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3D8E #8E6B1A
analogous
#1A778E #1A3D8E #311A8E
triadic
#1A3D8E #8E1A3D #3D8E1A
tetradic
#1A3D8E #8E1A77 #8E6B1A #1A8E31
square
#1A3D8E #8E1A77 #8E6B1A #1A8E31
split-complementary
#1A3D8E #8E311A #778E1A
monochromatic
#071127 #11275A #1A3D8E #2353C2 #4573DD

Accessibility & contrast

On white

9.99
#1A3D8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#1A3D8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3D8E
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3D8E#FFFFFF#000000##FFFFFF
##1A3D8E1.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004891
Deuteranopia (green-blind)
#003D8C
Tritanopia (blue-blind)
#00515F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #1a3d8e;
/* rgb */ color: rgb(26, 61, 142);
/* oklch */ color: oklch(38.7% 0.141 263.5);
Tailwind
colors: {
  custom: {
    50: '#6b71b0',
    500: '#1a3d8e',
    950: '#000000',
  },
}
SCSS
$custom: #1a3d8e;
$custom-light: #6b71b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3d8e",
  "rgb": {
    "r": 26,
    "g": 61,
    "b": 142
  },
  "hsl": {
    "h": 221.897,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.38732,
    "c": 0.14067,
    "h": 263.5
  },
  "luminance": 0.0551
}

Semantic roles & 50–950 ramp

primary
#1A3D8E
secondary
#BE9A45
accent
#B73CEC
background
#F6F6FA
surface
#ECECF5
border
#C7C7CF
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #1A3D8E

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

Preview Lab → · Contrast checker → · Palette generator →

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