#1A4F9E#1A4F9E

#1A4F9E is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.0% C 0.140 H 258.8°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#1A4F9E
RGBrgb(26, 79, 158)
HSLhsl(216, 72%, 36%)
HSVhsv(216, 84%, 62%)
CMYKcmyk(83.5%, 50%, 0%, 38%)
CIE-LABlab(34.56, 13.23, -47.78)
CIE-LCHlch(34.56, 49.57, 285.48°)
OKLaboklab(44% -0.0272 -0.1375)
OKLCHoklch(44% 0.14 258.8)
XYZxyz(9.3913, 8.2790, 33.4442)
Luminance0.0828 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4F9E #9E691A
analogous
#1A919E #1A4F9E #271A9E
triadic
#1A4F9E #9E1A4F #4F9E1A
tetradic
#1A4F9E #9E1A91 #9E691A #1A9E27
square
#1A4F9E #9E1A91 #9E691A #1A9E27
split-complementary
#1A4F9E #9E271A #919E1A
monochromatic
#091A35 #113569 #1A4F9E #2369D3 #508BE2

Accessibility & contrast

On white

7.91
#1A4F9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#1A4F9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4F9E
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4F9E#FFFFFF#000000##FFFFFF
##1A4F9E1.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F58A1
Deuteranopia (green-blind)
#004C9C
Tritanopia (blue-blind)
#00626F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #1a4f9e;
/* rgb */ color: rgb(26, 79, 158);
/* oklch */ color: oklch(44.0% 0.140 258.8);
Tailwind
colors: {
  custom: {
    50: '#6e7fbb',
    500: '#1a4f9e',
    950: '#000000',
  },
}
SCSS
$custom: #1a4f9e;
$custom-light: #6e7fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4f9e",
  "rgb": {
    "r": 26,
    "g": 79,
    "b": 158
  },
  "hsl": {
    "h": 215.909,
    "s": 71.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.44,
    "c": 0.14016,
    "h": 258.8
  },
  "luminance": 0.0828
}

Semantic roles & 50–950 ramp

primary
#1A4F9E
secondary
#C5954F
accent
#A639EE
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A12
muted
#7B7C81

Preview Lab

Preview with #1A4F9E

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

Preview Lab → · Contrast checker → · Palette generator →

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