#1A3297#1A3297

#1A3297 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.4% C 0.167 H 266.9°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#1A3297
RGBrgb(26, 50, 151)
HSLhsl(228, 71%, 35%)
HSVhsv(228, 83%, 59%)
CMYKcmyk(82.8%, 66.9%, 0%, 40.8%)
CIE-LABlab(25.96, 30.20, -57.51)
CIE-LCHlch(25.96, 64.96, 297.70°)
OKLaboklab(37.36% -0.009 -0.1666)
OKLCHoklch(37.36% 0.167 266.9)
XYZxyz(7.1506, 4.7343, 29.8091)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3297 #977F1A
analogous
#1A7197 #1A3297 #411A97
triadic
#1A3297 #971A32 #32971A
tetradic
#1A3297 #971A71 #977F1A #1A9741
square
#1A3297 #971A71 #977F1A #1A9741
split-complementary
#1A3297 #97411A #71971A
monochromatic
#080F2F #112163 #1A3297 #2343CB #4B68E0

Accessibility & contrast

On white

10.79
#1A3297 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#1A3297 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3297
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3297#FFFFFF#000000##FFFFFF
##1A32971.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449A
Deuteranopia (green-blind)
#003895
Tritanopia (blue-blind)
#004D60
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #1a3297;
/* rgb */ color: rgb(26, 50, 151);
/* oklch */ color: oklch(37.4% 0.167 266.9);
Tailwind
colors: {
  custom: {
    50: '#6e69b7',
    500: '#1a3297',
    950: '#000000',
  },
}
SCSS
$custom: #1a3297;
$custom-light: #6e69b7;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3297",
  "rgb": {
    "r": 26,
    "g": 50,
    "b": 151
  },
  "hsl": {
    "h": 228.48,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.37358,
    "c": 0.16681,
    "h": 266.9
  },
  "luminance": 0.04735
}

Semantic roles & 50–950 ramp

primary
#1A3297
secondary
#C2AB4B
accent
#CB3AED
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #1A3297

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

Preview Lab → · Contrast checker → · Palette generator →

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