#1A3A97#1A3A97

#1A3A97 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.9% C 0.157 H 265.1°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#1A3A97
RGBrgb(26, 58, 151)
HSLhsl(225, 71%, 35%)
HSVhsv(225, 83%, 59%)
CMYKcmyk(82.8%, 61.6%, 0%, 40.8%)
CIE-LABlab(28.06, 24.77, -54.08)
CIE-LCHlch(28.06, 59.48, 294.61°)
OKLaboklab(38.91% -0.0134 -0.1564)
OKLCHoklch(38.91% 0.157 265.1)
XYZxyz(7.5230, 5.4792, 29.9332)
Luminance0.0548 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3A97 #97771A
analogous
#1A7997 #1A3A97 #391A97
triadic
#1A3A97 #971A3A #3A971A
tetradic
#1A3A97 #971A79 #97771A #1A9739
square
#1A3A97 #971A79 #97771A #1A9739
split-complementary
#1A3A97 #97391A #79971A
monochromatic
#08122F #112663 #1A3A97 #234ECB #4B71E0

Accessibility & contrast

On white

10.02
#1A3A97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#1A3A97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3A97
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3A97#FFFFFF#000000##FFFFFF
##1A3A971.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489A
Deuteranopia (green-blind)
#003D95
Tritanopia (blue-blind)
#005262
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #1a3a97;
/* rgb */ color: rgb(26, 58, 151);
/* oklch */ color: oklch(38.9% 0.157 265.1);
Tailwind
colors: {
  custom: {
    50: '#6e6fb6',
    500: '#1a3a97',
    950: '#000000',
  },
}
SCSS
$custom: #1a3a97;
$custom-light: #6e6fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3a97",
  "rgb": {
    "r": 26,
    "g": 58,
    "b": 151
  },
  "hsl": {
    "h": 224.64,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.38907,
    "c": 0.15701,
    "h": 265.1
  },
  "luminance": 0.0548
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1A3A97

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

Preview Lab → · Contrast checker → · Palette generator →

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