#1A4995#1A4995

#1A4995 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.0% C 0.135 H 259.8°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#1A4995
RGBrgb(26, 73, 149)
HSLhsl(217, 70%, 34%)
HSVhsv(217, 83%, 58%)
CMYKcmyk(82.6%, 51%, 0%, 41.6%)
CIE-LABlab(32.15, 13.65, -46.21)
CIE-LCHlch(32.15, 48.18, 286.46°)
OKLaboklab(41.95% -0.024 -0.133)
OKLCHoklch(41.95% 0.135 259.8)
XYZxyz(8.2314, 7.1536, 29.3749)
Luminance0.0716 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4995 #95661A
analogous
#1A8795 #1A4995 #281A95
triadic
#1A4995 #951A49 #49951A
tetradic
#1A4995 #951A87 #95661A #1A9528
square
#1A4995 #951A87 #95661A #1A9528
split-complementary
#1A4995 #95281A #87951A
monochromatic
#08162D #112F61 #1A4995 #2363C9 #4A83DF

Accessibility & contrast

On white

8.64
#1A4995 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#1A4995 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4995
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4995#FFFFFF#000000##FFFFFF
##1A49951.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A5298
Deuteranopia (green-blind)
#004693
Tritanopia (blue-blind)
#005B68
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1a4995;
/* rgb */ color: rgb(26, 73, 149);
/* oklch */ color: oklch(42.0% 0.135 259.8);
Tailwind
colors: {
  custom: {
    50: '#6c7bb5',
    500: '#1a4995',
    950: '#000000',
  },
}
SCSS
$custom: #1a4995;
$custom-light: #6c7bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4995",
  "rgb": {
    "r": 26,
    "g": 73,
    "b": 149
  },
  "hsl": {
    "h": 217.073,
    "s": 70.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.41954,
    "c": 0.13515,
    "h": 259.8
  },
  "luminance": 0.07155
}

Semantic roles & 50–950 ramp

primary
#1A4995
secondary
#C1944A
accent
#A93BED
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #1A4995

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

Preview Lab → · Contrast checker → · Palette generator →

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