#1A4895#1A4895

#1A4895 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 41.7% C 0.136 H 260.2°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#1A4895
RGBrgb(26, 72, 149)
HSLhsl(218, 70%, 34%)
HSVhsv(218, 83%, 58%)
CMYKcmyk(82.6%, 51.7%, 0%, 41.6%)
CIE-LABlab(31.86, 14.34, -46.68)
CIE-LCHlch(31.86, 48.83, 287.07°)
OKLaboklab(41.73% -0.0232 -0.1344)
OKLCHoklch(41.73% 0.136 260.2)
XYZxyz(8.1662, 7.0233, 29.3532)
Luminance0.0702 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4895 #95671A
analogous
#1A8695 #1A4895 #2A1A95
triadic
#1A4895 #951A48 #48951A
tetradic
#1A4895 #951A86 #95671A #1A952A
square
#1A4895 #951A86 #95671A #1A952A
split-complementary
#1A4895 #952A1A #86951A
monochromatic
#08162D #112F61 #1A4895 #2361C9 #4A82DF

Accessibility & contrast

On white

8.73
#1A4895 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#1A4895 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4895
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4895#FFFFFF#000000##FFFFFF
##1A48951.008.732.408.73
#FFFFFF8.731.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#165198
Deuteranopia (green-blind)
#004693
Tritanopia (blue-blind)
#005B67
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #1a4895;
/* rgb */ color: rgb(26, 72, 149);
/* oklch */ color: oklch(41.7% 0.136 260.2);
Tailwind
colors: {
  custom: {
    50: '#6c7ab5',
    500: '#1a4895',
    950: '#000000',
  },
}
SCSS
$custom: #1a4895;
$custom-light: #6c7ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4895",
  "rgb": {
    "r": 26,
    "g": 72,
    "b": 149
  },
  "hsl": {
    "h": 217.561,
    "s": 70.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.41729,
    "c": 0.13642,
    "h": 260.2
  },
  "luminance": 0.07024
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1A4895

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

Preview Lab → · Contrast checker → · Palette generator →

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