#1A4790#1A4790

#1A4790 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.1% C 0.131 H 259.8°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#1A4790
RGBrgb(26, 71, 144)
HSLhsl(217, 69%, 33%)
HSVhsv(217, 82%, 56%)
CMYKcmyk(81.9%, 50.7%, 0%, 43.5%)
CIE-LABlab(31.20, 12.99, -44.69)
CIE-LCHlch(31.20, 46.54, 286.20°)
OKLaboklab(41.11% -0.0231 -0.1286)
OKLCHoklch(41.11% 0.131 259.8)
XYZxyz(7.7114, 6.7388, 27.2744)
Luminance0.0674 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4790 #90631A
analogous
#1A8290 #1A4790 #281A90
triadic
#1A4790 #901A47 #47901A
tetradic
#1A4790 #901A82 #90631A #1A9028
square
#1A4790 #901A82 #90631A #1A9028
split-complementary
#1A4790 #90281A #82901A
monochromatic
#071428 #112D5C #1A4790 #2361C4 #4780DE

Accessibility & contrast

On white

8.94
#1A4790 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#1A4790 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4790
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4790#FFFFFF#000000##FFFFFF
##1A47901.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4F93
Deuteranopia (green-blind)
#00448F
Tritanopia (blue-blind)
#005964
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #1a4790;
/* rgb */ color: rgb(26, 71, 144);
/* oklch */ color: oklch(41.1% 0.131 259.8);
Tailwind
colors: {
  custom: {
    50: '#6b79b1',
    500: '#1a4790',
    950: '#000000',
  },
}
SCSS
$custom: #1a4790;
$custom-light: #6b79b1;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4790",
  "rgb": {
    "r": 26,
    "g": 71,
    "b": 144
  },
  "hsl": {
    "h": 217.119,
    "s": 69.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.41112,
    "c": 0.13064,
    "h": 259.8
  },
  "luminance": 0.0674
}

Semantic roles & 50–950 ramp

primary
#1A4790
secondary
#BF9147
accent
#A93CEC
background
#F6F7FB
surface
#ECEDF6
border
#C7C8D0
text
#080911
muted
#7A7B80

Preview Lab

Preview with #1A4790

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

Preview Lab → · Contrast checker → · Palette generator →

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