#1A4C9F#1A4C9F

#1A4C9F is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.4% C 0.145 H 260.2°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#1A4C9F
RGBrgb(26, 76, 159)
HSLhsl(217, 72%, 36%)
HSVhsv(217, 84%, 62%)
CMYKcmyk(83.6%, 52.2%, 0%, 37.6%)
CIE-LABlab(33.75, 15.66, -49.68)
CIE-LCHlch(33.75, 52.09, 287.50°)
OKLaboklab(43.41% -0.0248 -0.1431)
OKLCHoklch(43.41% 0.145 260.2)
XYZxyz(9.2662, 7.8906, 33.8288)
Luminance0.0789 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4C9F #9F6D1A
analogous
#1A8F9F #1A4C9F #2B1A9F
triadic
#1A4C9F #9F1A4C #4C9F1A
tetradic
#1A4C9F #9F1A8F #9F6D1A #1A9F2B
square
#1A4C9F #9F1A8F #9F6D1A #1A9F2B
split-complementary
#1A4C9F #9F2B1A #8F9F1A
monochromatic
#091A36 #11336A #1A4C9F #2365D4 #5188E3

Accessibility & contrast

On white

8.14
#1A4C9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#1A4C9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4C9F
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4C9F#FFFFFF#000000##FFFFFF
##1A4C9F1.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1356A2
Deuteranopia (green-blind)
#004A9D
Tritanopia (blue-blind)
#00606E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1a4c9f;
/* rgb */ color: rgb(26, 76, 159);
/* oklch */ color: oklch(43.4% 0.145 260.2);
Tailwind
colors: {
  custom: {
    50: '#6f7dbc',
    500: '#1a4c9f',
    950: '#000000',
  },
}
SCSS
$custom: #1a4c9f;
$custom-light: #6f7dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4c9f",
  "rgb": {
    "r": 26,
    "g": 76,
    "b": 159
  },
  "hsl": {
    "h": 217.444,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.43407,
    "c": 0.14529,
    "h": 260.2
  },
  "luminance": 0.07892
}

Semantic roles & 50–950 ramp

primary
#1A4C9F
secondary
#C59950
accent
#AA39EF
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #1A4C9F

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

Preview Lab → · Contrast checker → · Palette generator →

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