#1A3C98#1A3C98

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

Color values

HEX#1A3C98
RGBrgb(26, 60, 152)
HSLhsl(224, 71%, 35%)
HSVhsv(224, 83%, 60%)
CMYKcmyk(82.9%, 60.5%, 0%, 40.4%)
CIE-LABlab(28.69, 23.80, -53.67)
CIE-LCHlch(28.69, 58.70, 293.91°)
OKLaboklab(39.4% -0.0146 -0.1552)
OKLCHoklch(39.4% 0.156 264.6)
XYZxyz(7.7073, 5.7174, 30.3970)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3C98 #98761A
analogous
#1A7B98 #1A3C98 #371A98
triadic
#1A3C98 #981A3C #3C981A
tetradic
#1A3C98 #981A7B #98761A #1A9837
square
#1A3C98 #981A7B #98761A #1A9837
split-complementary
#1A3C98 #98371A #7B981A
monochromatic
#08132F #112764 #1A3C98 #2351CC #4C74E0

Accessibility & contrast

On white

9.80
#1A3C98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A3C98
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3C98#FFFFFF#000000##FFFFFF
##1A3C981.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a3c98;
/* rgb */ color: rgb(26, 60, 152);
/* oklch */ color: oklch(39.4% 0.156 264.6);
Tailwind
colors: {
  custom: {
    50: '#6e71b7',
    500: '#1a3c98',
    950: '#000000',
  },
}
SCSS
$custom: #1a3c98;
$custom-light: #6e71b7;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3c98",
  "rgb": {
    "r": 26,
    "g": 60,
    "b": 152
  },
  "hsl": {
    "h": 223.81,
    "s": 70.787,
    "l": 34.902
  },
  "oklch": {
    "l": 0.39403,
    "c": 0.15587,
    "h": 264.6
  },
  "luminance": 0.05718
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1A3C98

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

Preview Lab → · Contrast checker → · Palette generator →

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