#1A3C8E#1A3C8E

#1A3C8E is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.5% C 0.142 H 263.9°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#1A3C8E
RGBrgb(26, 60, 142)
HSLhsl(222, 69%, 33%)
HSVhsv(222, 82%, 56%)
CMYKcmyk(81.7%, 57.7%, 0%, 44.3%)
CIE-LABlab(27.85, 19.78, -48.89)
CIE-LCHlch(27.85, 52.74, 292.03°)
OKLaboklab(38.52% -0.0151 -0.1411)
OKLCHoklch(38.52% 0.142 263.9)
XYZxyz(6.9226, 5.4035, 26.2641)
Luminance0.0540 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3C8E #8E6C1A
analogous
#1A768E #1A3C8E #321A8E
triadic
#1A3C8E #8E1A3C #3C8E1A
tetradic
#1A3C8E #8E1A76 #8E6C1A #1A8E32
square
#1A3C8E #8E1A76 #8E6C1A #1A8E32
split-complementary
#1A3C8E #8E321A #768E1A
monochromatic
#071027 #11265A #1A3C8E #2352C2 #4572DD

Accessibility & contrast

On white

10.09
#1A3C8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#1A3C8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3C8E
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3C8E#FFFFFF#000000##FFFFFF
##1A3C8E1.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a3c8e;
/* rgb */ color: rgb(26, 60, 142);
/* oklch */ color: oklch(38.5% 0.142 263.9);
Tailwind
colors: {
  custom: {
    50: '#6b71b0',
    500: '#1a3c8e',
    950: '#000000',
  },
}
SCSS
$custom: #1a3c8e;
$custom-light: #6b71b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3c8e",
  "rgb": {
    "r": 26,
    "g": 60,
    "b": 142
  },
  "hsl": {
    "h": 222.414,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.38518,
    "c": 0.14196,
    "h": 263.9
  },
  "luminance": 0.05404
}

Semantic roles & 50–950 ramp

primary
#1A3C8E
secondary
#BE9B45
accent
#B83CEC
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #1A3C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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