#1A4297#1A4297

#1A4297 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.6% C 0.147 H 262.7°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#1A4297
RGBrgb(26, 66, 151)
HSLhsl(221, 71%, 35%)
HSVhsv(221, 83%, 59%)
CMYKcmyk(82.8%, 56.3%, 0%, 40.8%)
CIE-LABlab(30.28, 19.27, -50.47)
CIE-LCHlch(30.28, 54.02, 290.90°)
OKLaboklab(40.57% -0.0186 -0.1457)
OKLCHoklch(40.57% 0.147 262.7)
XYZxyz(7.9581, 6.3494, 30.0783)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4297 #976F1A
analogous
#1A8197 #1A4297 #311A97
triadic
#1A4297 #971A42 #42971A
tetradic
#1A4297 #971A81 #976F1A #1A9731
square
#1A4297 #971A81 #976F1A #1A9731
split-complementary
#1A4297 #97311A #81971A
monochromatic
#08142F #112B63 #1A4297 #2359CB #4B7BE0

Accessibility & contrast

On white

9.25
#1A4297 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#1A4297 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4297
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4297#FFFFFF#000000##FFFFFF
##1A42971.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9A
Deuteranopia (green-blind)
#004295
Tritanopia (blue-blind)
#005766
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1a4297;
/* rgb */ color: rgb(26, 66, 151);
/* oklch */ color: oklch(40.6% 0.147 262.7);
Tailwind
colors: {
  custom: {
    50: '#6d75b6',
    500: '#1a4297',
    950: '#000000',
  },
}
SCSS
$custom: #1a4297;
$custom-light: #6d75b6;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4297",
  "rgb": {
    "r": 26,
    "g": 66,
    "b": 151
  },
  "hsl": {
    "h": 220.8,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.40573,
    "c": 0.14686,
    "h": 262.7
  },
  "luminance": 0.0635
}

Semantic roles & 50–950 ramp

primary
#1A4297
secondary
#C29C4B
accent
#B43AED
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #1A4297

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

Preview Lab → · Contrast checker → · Palette generator →

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