#1A3E79#1A3E79

#1A3E79 is a dark, moderate blue. Relative luminance 0.050; OKLCH L 37.3% C 0.109 H 259.8°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#1A3E79
RGBrgb(26, 62, 121)
HSLhsl(217, 65%, 29%)
HSVhsv(217, 79%, 47%)
CMYKcmyk(78.5%, 48.8%, 0%, 52.5%)
CIE-LABlab(26.86, 9.79, -37.40)
CIE-LCHlch(26.86, 38.66, 284.68°)
OKLaboklab(37.26% -0.0193 -0.1073)
OKLCHoklch(37.26% 0.109 259.8)
XYZxyz(5.5986, 5.0447, 18.7641)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3E79 #79551A
analogous
#1A6E79 #1A3E79 #261A79
triadic
#1A3E79 #791A3E #3E791A
tetradic
#1A3E79 #791A6E #79551A #1A7926
square
#1A3E79 #791A6E #79551A #1A7926
split-complementary
#1A3E79 #79261A #6E791A
monochromatic
#050D19 #0F2447 #1A3E79 #2558AB #3974D4

Accessibility & contrast

On white

10.45
#1A3E79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#1A3E79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3E79
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3E79#FFFFFF#000000##FFFFFF
##1A3E791.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E447B
Deuteranopia (green-blind)
#053B78
Tritanopia (blue-blind)
#004C55
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #1a3e79;
/* rgb */ color: rgb(26, 62, 121);
/* oklch */ color: oklch(37.3% 0.109 259.8);
Tailwind
colors: {
  custom: {
    50: '#6672a0',
    500: '#1a3e79',
    950: '#000000',
  },
}
SCSS
$custom: #1a3e79;
$custom-light: #6672a0;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3e79",
  "rgb": {
    "r": 26,
    "g": 62,
    "b": 121
  },
  "hsl": {
    "h": 217.263,
    "s": 64.626,
    "l": 28.824
  },
  "oklch": {
    "l": 0.37259,
    "c": 0.10903,
    "h": 259.8
  },
  "luminance": 0.05045
}

Semantic roles & 50–950 ramp

primary
#1A3E79
secondary
#AD8441
accent
#A840E8
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06080F
muted
#7A7B7E

Preview Lab

Preview with #1A3E79

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

Preview Lab → · Contrast checker → · Palette generator →

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