#1A3B97#1A3B97

#1A3B97 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.1% C 0.156 H 264.8°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#1A3B97
RGBrgb(26, 59, 151)
HSLhsl(224, 71%, 35%)
HSVhsv(224, 83%, 59%)
CMYKcmyk(82.8%, 60.9%, 0%, 40.8%)
CIE-LABlab(28.33, 24.08, -53.64)
CIE-LCHlch(28.33, 58.80, 294.18°)
OKLaboklab(39.11% -0.014 -0.1551)
OKLCHoklch(39.11% 0.156 264.8)
XYZxyz(7.5739, 5.5810, 29.9502)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3B97 #97761A
analogous
#1A7A97 #1A3B97 #381A97
triadic
#1A3B97 #971A3B #3B971A
tetradic
#1A3B97 #971A7A #97761A #1A9738
square
#1A3B97 #971A7A #97761A #1A9738
split-complementary
#1A3B97 #97381A #7A971A
monochromatic
#08122F #112763 #1A3B97 #234FCB #4B73E0

Accessibility & contrast

On white

9.92
#1A3B97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#1A3B97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3B97
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3B97#FFFFFF#000000##FFFFFF
##1A3B971.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a3b97;
/* rgb */ color: rgb(26, 59, 151);
/* oklch */ color: oklch(39.1% 0.156 264.8);
Tailwind
colors: {
  custom: {
    50: '#6e70b6',
    500: '#1a3b97',
    950: '#000000',
  },
}
SCSS
$custom: #1a3b97;
$custom-light: #6e70b6;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3b97",
  "rgb": {
    "r": 26,
    "g": 59,
    "b": 151
  },
  "hsl": {
    "h": 224.16,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.39109,
    "c": 0.15575,
    "h": 264.8
  },
  "luminance": 0.05582
}

Semantic roles & 50–950 ramp

primary
#1A3B97
secondary
#C2A34B
accent
#BE3AED
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #1A3B97

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

Preview Lab → · Contrast checker → · Palette generator →

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