#1A3C8F#1A3C8F

#1A3C8F is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.6% C 0.143 H 264.0°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#1A3C8F
RGBrgb(26, 60, 143)
HSLhsl(223, 69%, 33%)
HSVhsv(223, 82%, 56%)
CMYKcmyk(81.8%, 58%, 0%, 43.9%)
CIE-LABlab(27.94, 20.18, -49.37)
CIE-LCHlch(27.94, 53.34, 292.23°)
OKLaboklab(38.61% -0.015 -0.1426)
OKLCHoklch(38.61% 0.143 264)
XYZxyz(6.9980, 5.4337, 26.6613)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3C8F #8F6D1A
analogous
#1A768F #1A3C8F #321A8F
triadic
#1A3C8F #8F1A3C #3C8F1A
tetradic
#1A3C8F #8F1A76 #8F6D1A #1A8F32
square
#1A3C8F #8F1A76 #8F6D1A #1A8F32
split-complementary
#1A3C8F #8F321A #768F1A
monochromatic
#071127 #11265B #1A3C8F #2352C3 #4672DD

Accessibility & contrast

On white

10.06
#1A3C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#1A3C8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3C8F
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3C8F#FFFFFF#000000##FFFFFF
##1A3C8F1.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a3c8f;
/* rgb */ color: rgb(26, 60, 143);
/* oklch */ color: oklch(38.6% 0.143 264.0);
Tailwind
colors: {
  custom: {
    50: '#6b71b0',
    500: '#1a3c8f',
    950: '#000000',
  },
}
SCSS
$custom: #1a3c8f;
$custom-light: #6b71b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3c8f",
  "rgb": {
    "r": 26,
    "g": 60,
    "b": 143
  },
  "hsl": {
    "h": 222.564,
    "s": 69.231,
    "l": 33.137
  },
  "oklch": {
    "l": 0.38605,
    "c": 0.14336,
    "h": 264
  },
  "luminance": 0.05434
}

Semantic roles & 50–950 ramp

primary
#1A3C8F
secondary
#BF9C46
accent
#B93CEC
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080711
muted
#7B7A80

Preview Lab

Preview with #1A3C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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