#1A4097#1A4097

#1A4097 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.1% C 0.149 H 263.4°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#1A4097
RGBrgb(26, 64, 151)
HSLhsl(222, 71%, 35%)
HSVhsv(222, 83%, 59%)
CMYKcmyk(82.8%, 57.6%, 0%, 40.8%)
CIE-LABlab(29.71, 20.64, -51.38)
CIE-LCHlch(29.71, 55.38, 291.89°)
OKLaboklab(40.15% -0.0172 -0.1484)
OKLCHoklch(40.15% 0.149 263.4)
XYZxyz(7.8433, 6.1198, 30.0400)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4097 #97711A
analogous
#1A7F97 #1A4097 #331A97
triadic
#1A4097 #971A40 #40971A
tetradic
#1A4097 #971A7F #97711A #1A9733
square
#1A4097 #971A7F #97711A #1A9733
split-complementary
#1A4097 #97331A #7F971A
monochromatic
#08142F #112A63 #1A4097 #2356CB #4B79E0

Accessibility & contrast

On white

9.44
#1A4097 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#1A4097 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4097
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4097#FFFFFF#000000##FFFFFF
##1A40971.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9A
Deuteranopia (green-blind)
#004095
Tritanopia (blue-blind)
#005665
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1a4097;
/* rgb */ color: rgb(26, 64, 151);
/* oklch */ color: oklch(40.1% 0.149 263.4);
Tailwind
colors: {
  custom: {
    50: '#6d74b6',
    500: '#1a4097',
    950: '#000000',
  },
}
SCSS
$custom: #1a4097;
$custom-light: #6d74b6;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4097",
  "rgb": {
    "r": 26,
    "g": 64,
    "b": 151
  },
  "hsl": {
    "h": 221.76,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.40147,
    "c": 0.14942,
    "h": 263.4
  },
  "luminance": 0.06121
}

Semantic roles & 50–950 ramp

primary
#1A4097
secondary
#C29E4B
accent
#B73AED
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #1A4097

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

Preview Lab → · Contrast checker → · Palette generator →

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