#1A4397#1A4397

#1A4397 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 40.8% C 0.146 H 262.4°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#1A4397
RGBrgb(26, 67, 151)
HSLhsl(220, 71%, 35%)
HSVhsv(220, 83%, 59%)
CMYKcmyk(82.8%, 55.6%, 0%, 40.8%)
CIE-LABlab(30.56, 18.58, -50.00)
CIE-LCHlch(30.56, 53.34, 290.38°)
OKLaboklab(40.79% -0.0193 -0.1443)
OKLCHoklch(40.79% 0.146 262.4)
XYZxyz(8.0171, 6.4673, 30.0979)
Luminance0.0647 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4397 #976E1A
analogous
#1A8297 #1A4397 #301A97
triadic
#1A4397 #971A43 #43971A
tetradic
#1A4397 #971A82 #976E1A #1A9730
square
#1A4397 #971A82 #976E1A #1A9730
split-complementary
#1A4397 #97301A #82971A
monochromatic
#08152F #112C63 #1A4397 #235ACB #4B7CE0

Accessibility & contrast

On white

9.16
#1A4397 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#1A4397 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4397
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4397#FFFFFF#000000##FFFFFF
##1A43971.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9A
Deuteranopia (green-blind)
#004395
Tritanopia (blue-blind)
#005866
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #1a4397;
/* rgb */ color: rgb(26, 67, 151);
/* oklch */ color: oklch(40.8% 0.146 262.4);
Tailwind
colors: {
  custom: {
    50: '#6d76b6',
    500: '#1a4397',
    950: '#000000',
  },
}
SCSS
$custom: #1a4397;
$custom-light: #6d76b6;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4397",
  "rgb": {
    "r": 26,
    "g": 67,
    "b": 151
  },
  "hsl": {
    "h": 220.32,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.40788,
    "c": 0.14558,
    "h": 262.4
  },
  "luminance": 0.06468
}

Semantic roles & 50–950 ramp

primary
#1A4397
secondary
#C29B4B
accent
#B33AED
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #1A4397

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

Preview Lab → · Contrast checker → · Palette generator →

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