#1A4F9A#1A4F9A

#1A4F9A is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.7% C 0.135 H 258.1°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#1A4F9A
RGBrgb(26, 79, 154)
HSLhsl(215, 71%, 35%)
HSVhsv(215, 83%, 60%)
CMYKcmyk(83.1%, 48.7%, 0%, 39.6%)
CIE-LABlab(34.28, 11.61, -45.81)
CIE-LCHlch(34.28, 47.26, 284.23°)
OKLaboklab(43.7% -0.0278 -0.1317)
OKLCHoklch(43.7% 0.135 258.1)
XYZxyz(9.0526, 8.1436, 31.6603)
Luminance0.0814 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4F9A #9A651A
analogous
#1A8F9A #1A4F9A #251A9A
triadic
#1A4F9A #9A1A4F #4F9A1A
tetradic
#1A4F9A #9A1A8F #9A651A #1A9A25
square
#1A4F9A #9A1A8F #9A651A #1A9A25
split-complementary
#1A4F9A #9A251A #8F9A1A
monochromatic
#081931 #113466 #1A4F9A #236ACE #4D8BE1

Accessibility & contrast

On white

7.99
#1A4F9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#1A4F9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4F9A
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4F9A#FFFFFF#000000##FFFFFF
##1A4F9A1.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24579D
Deuteranopia (green-blind)
#004B99
Tritanopia (blue-blind)
#00616D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #1a4f9a;
/* rgb */ color: rgb(26, 79, 154);
/* oklch */ color: oklch(43.7% 0.135 258.1);
Tailwind
colors: {
  custom: {
    50: '#6d7fb8',
    500: '#1a4f9a',
    950: '#000000',
  },
}
SCSS
$custom: #1a4f9a;
$custom-light: #6d7fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4f9a",
  "rgb": {
    "r": 26,
    "g": 79,
    "b": 154
  },
  "hsl": {
    "h": 215.156,
    "s": 71.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.43698,
    "c": 0.13462,
    "h": 258.1
  },
  "luminance": 0.08145
}

Semantic roles & 50–950 ramp

primary
#1A4F9A
secondary
#C3924D
accent
#A33AEE
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #1A4F9A

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

Preview Lab → · Contrast checker → · Palette generator →

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