#1A3F96#1A3F96

#1A3F96 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.8% C 0.149 H 263.6°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#1A3F96
RGBrgb(26, 63, 150)
HSLhsl(222, 70%, 35%)
HSVhsv(222, 83%, 59%)
CMYKcmyk(82.7%, 58%, 0%, 41.2%)
CIE-LABlab(29.35, 20.93, -51.36)
CIE-LCHlch(29.35, 55.46, 292.17°)
OKLaboklab(39.85% -0.0166 -0.1484)
OKLCHoklch(39.85% 0.149 263.6)
XYZxyz(7.7066, 5.9757, 29.5955)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3F96 #96711A
analogous
#1A7D96 #1A3F96 #331A96
triadic
#1A3F96 #961A3F #3F961A
tetradic
#1A3F96 #961A7D #96711A #1A9633
square
#1A3F96 #961A7D #96711A #1A9633
split-complementary
#1A3F96 #96331A #7D961A
monochromatic
#08132E #112962 #1A3F96 #2355CA #4B77E0

Accessibility & contrast

On white

9.57
#1A3F96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#1A3F96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3F96
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3F96#FFFFFF#000000##FFFFFF
##1A3F961.009.572.209.57
#FFFFFF9.571.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B99
Deuteranopia (green-blind)
#004094
Tritanopia (blue-blind)
#005564
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1a3f96;
/* rgb */ color: rgb(26, 63, 150);
/* oklch */ color: oklch(39.8% 0.149 263.6);
Tailwind
colors: {
  custom: {
    50: '#6d73b6',
    500: '#1a3f96',
    950: '#000000',
  },
}
SCSS
$custom: #1a3f96;
$custom-light: #6d73b6;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3f96",
  "rgb": {
    "r": 26,
    "g": 63,
    "b": 150
  },
  "hsl": {
    "h": 222.097,
    "s": 70.455,
    "l": 34.51
  },
  "oklch": {
    "l": 0.39849,
    "c": 0.1493,
    "h": 263.6
  },
  "luminance": 0.05977
}

Semantic roles & 50–950 ramp

primary
#1A3F96
secondary
#C29E4A
accent
#B83BED
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #1A3F96

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

Preview Lab → · Contrast checker → · Palette generator →

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