#1A3C99#1A3C99

#1A3C99 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.5% C 0.157 H 264.7°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#1A3C99
RGBrgb(26, 60, 153)
HSLhsl(224, 71%, 35%)
HSVhsv(224, 83%, 60%)
CMYKcmyk(83%, 60.8%, 0%, 40%)
CIE-LABlab(28.77, 24.20, -54.14)
CIE-LCHlch(28.77, 59.30, 294.08°)
OKLaboklab(39.49% -0.0146 -0.1566)
OKLCHoklch(39.49% 0.157 264.7)
XYZxyz(7.7896, 5.7503, 30.8302)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3C99 #99771A
analogous
#1A7C99 #1A3C99 #371A99
triadic
#1A3C99 #991A3C #3C991A
tetradic
#1A3C99 #991A7C #99771A #1A9937
square
#1A3C99 #991A7C #99771A #1A9937
split-complementary
#1A3C99 #99371A #7C991A
monochromatic
#081330 #112765 #1A3C99 #2351CD #4D74E1

Accessibility & contrast

On white

9.77
#1A3C99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#1A3C99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3C99
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3C99#FFFFFF#000000##FFFFFF
##1A3C991.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9C
Deuteranopia (green-blind)
#003E97
Tritanopia (blue-blind)
#005464
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1a3c99;
/* rgb */ color: rgb(26, 60, 153);
/* oklch */ color: oklch(39.5% 0.157 264.7);
Tailwind
colors: {
  custom: {
    50: '#6e71b8',
    500: '#1a3c99',
    950: '#000000',
  },
}
SCSS
$custom: #1a3c99;
$custom-light: #6e71b8;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3c99",
  "rgb": {
    "r": 26,
    "g": 60,
    "b": 153
  },
  "hsl": {
    "h": 223.937,
    "s": 70.95,
    "l": 35.098
  },
  "oklch": {
    "l": 0.39494,
    "c": 0.15724,
    "h": 264.7
  },
  "luminance": 0.05751
}

Semantic roles & 50–950 ramp

primary
#1A3C99
secondary
#C3A34C
accent
#BE3AEE
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #1A3C99

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

Preview Lab → · Contrast checker → · Palette generator →

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