#1A3A8D#1A3A8D

#1A3A8D is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.0% C 0.143 H 264.5°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#1A3A8D
RGBrgb(26, 58, 141)
HSLhsl(223, 69%, 33%)
HSVhsv(223, 82%, 55%)
CMYKcmyk(81.6%, 58.9%, 0%, 44.7%)
CIE-LABlab(27.21, 20.77, -49.32)
CIE-LCHlch(27.21, 53.52, 292.83°)
OKLaboklab(38.01% -0.0138 -0.1425)
OKLCHoklch(38.01% 0.143 264.5)
XYZxyz(6.7451, 5.1680, 25.8362)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3A8D #8D6D1A
analogous
#1A748D #1A3A8D #331A8D
triadic
#1A3A8D #8D1A3A #3A8D1A
tetradic
#1A3A8D #8D1A74 #8D6D1A #1A8D33
square
#1A3A8D #8D1A74 #8D6D1A #1A8D33
split-complementary
#1A3A8D #8D331A #748D1A
monochromatic
#070F26 #102559 #1A3A8D #244FC1 #456FDD

Accessibility & contrast

On white

10.33
#1A3A8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#1A3A8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3A8D
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3A8D#FFFFFF#000000##FFFFFF
##1A3A8D1.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004690
Deuteranopia (green-blind)
#003B8B
Tritanopia (blue-blind)
#004F5D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #1a3a8d;
/* rgb */ color: rgb(26, 58, 141);
/* oklch */ color: oklch(38.0% 0.143 264.5);
Tailwind
colors: {
  custom: {
    50: '#6b6faf',
    500: '#1a3a8d',
    950: '#000000',
  },
}
SCSS
$custom: #1a3a8d;
$custom-light: #6b6faf;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3a8d",
  "rgb": {
    "r": 26,
    "g": 58,
    "b": 141
  },
  "hsl": {
    "h": 223.304,
    "s": 68.862,
    "l": 32.745
  },
  "oklch": {
    "l": 0.38005,
    "c": 0.14313,
    "h": 264.5
  },
  "luminance": 0.05169
}

Semantic roles & 50–950 ramp

primary
#1A3A8D
secondary
#BE9C45
accent
#BB3CEC
background
#F6F6FA
surface
#ECECF5
border
#C7C7CF
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #1A3A8D

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

Preview Lab → · Contrast checker → · Palette generator →

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