#1A3D79#1A3D79

#1A3D79 is a dark, moderate blue. Relative luminance 0.049; OKLCH L 37.0% C 0.110 H 260.4°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#1A3D79
RGBrgb(26, 61, 121)
HSLhsl(218, 65%, 29%)
HSVhsv(218, 79%, 47%)
CMYKcmyk(78.5%, 49.6%, 0%, 52.5%)
CIE-LABlab(26.55, 10.49, -37.89)
CIE-LCHlch(26.55, 39.32, 285.48°)
OKLaboklab(37.02% -0.0184 -0.1088)
OKLCHoklch(37.02% 0.11 260.4)
XYZxyz(5.5447, 4.9369, 18.7462)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3D79 #79561A
analogous
#1A6D79 #1A3D79 #271A79
triadic
#1A3D79 #791A3D #3D791A
tetradic
#1A3D79 #791A6D #79561A #1A7927
square
#1A3D79 #791A6D #79561A #1A7927
split-complementary
#1A3D79 #79271A #6D791A
monochromatic
#050D19 #0F2447 #1A3D79 #2556AB #3972D4

Accessibility & contrast

On white

10.57
#1A3D79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#1A3D79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3D79
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3D79#FFFFFF#000000##FFFFFF
##1A3D791.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C437B
Deuteranopia (green-blind)
#013B78
Tritanopia (blue-blind)
#004B55
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #1a3d79;
/* rgb */ color: rgb(26, 61, 121);
/* oklch */ color: oklch(37.0% 0.110 260.4);
Tailwind
colors: {
  custom: {
    50: '#6672a0',
    500: '#1a3d79',
    950: '#000000',
  },
}
SCSS
$custom: #1a3d79;
$custom-light: #6672a0;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3d79",
  "rgb": {
    "r": 26,
    "g": 61,
    "b": 121
  },
  "hsl": {
    "h": 217.895,
    "s": 64.626,
    "l": 28.824
  },
  "oklch": {
    "l": 0.37023,
    "c": 0.11033,
    "h": 260.4
  },
  "luminance": 0.04938
}

Semantic roles & 50–950 ramp

primary
#1A3D79
secondary
#AD8641
accent
#AA40E8
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070F
muted
#7A7A7E

Preview Lab

Preview with #1A3D79

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

Preview Lab → · Contrast checker → · Palette generator →

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