#1A3C97#1A3C97

#1A3C97 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.3% C 0.154 H 264.6°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#1A3C97
RGBrgb(26, 60, 151)
HSLhsl(224, 71%, 35%)
HSVhsv(224, 83%, 59%)
CMYKcmyk(82.8%, 60.3%, 0%, 40.8%)
CIE-LABlab(28.60, 23.40, -53.19)
CIE-LCHlch(28.60, 58.11, 293.74°)
OKLaboklab(39.31% -0.0146 -0.1538)
OKLCHoklch(39.31% 0.155 264.6)
XYZxyz(7.6258, 5.6848, 29.9675)
Luminance0.0569 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3C97 #97751A
analogous
#1A7B97 #1A3C97 #371A97
triadic
#1A3C97 #971A3C #3C971A
tetradic
#1A3C97 #971A7B #97751A #1A9737
square
#1A3C97 #971A7B #97751A #1A9737
split-complementary
#1A3C97 #97371A #7B971A
monochromatic
#08132F #112763 #1A3C97 #2351CB #4B74E0

Accessibility & contrast

On white

9.83
#1A3C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#1A3C97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3C97
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3C97#FFFFFF#000000##FFFFFF
##1A3C971.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499A
Deuteranopia (green-blind)
#003E95
Tritanopia (blue-blind)
#005363
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1a3c97;
/* rgb */ color: rgb(26, 60, 151);
/* oklch */ color: oklch(39.3% 0.154 264.6);
Tailwind
colors: {
  custom: {
    50: '#6d71b6',
    500: '#1a3c97',
    950: '#000000',
  },
}
SCSS
$custom: #1a3c97;
$custom-light: #6d71b6;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3c97",
  "rgb": {
    "r": 26,
    "g": 60,
    "b": 151
  },
  "hsl": {
    "h": 223.68,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.39313,
    "c": 0.1545,
    "h": 264.6
  },
  "luminance": 0.05686
}

Semantic roles & 50–950 ramp

primary
#1A3C97
secondary
#C2A24B
accent
#BD3AED
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #1A3C97

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

Preview Lab → · Contrast checker → · Palette generator →

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