#1A3D71#1A3D71

#1A3D71 is a dark, moderate blue. Relative luminance 0.047; OKLCH L 36.4% C 0.099 H 258.4°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#1A3D71
RGBrgb(26, 61, 113)
HSLhsl(216, 63%, 27%)
HSVhsv(216, 77%, 44%)
CMYKcmyk(77%, 46%, 0%, 55.7%)
CIE-LABlab(26.01, 7.21, -33.70)
CIE-LCHlch(26.01, 34.46, 282.07°)
OKLaboklab(36.43% -0.0199 -0.0965)
OKLCHoklch(36.43% 0.099 258.4)
XYZxyz(5.0743, 4.7488, 16.2688)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3D71 #714E1A
analogous
#1A6971 #1A3D71 #221A71
triadic
#1A3D71 #711A3D #3D711A
tetradic
#1A3D71 #711A69 #714E1A #1A7122
square
#1A3D71 #711A69 #714E1A #1A7122
split-complementary
#1A3D71 #71221A #69711A
monochromatic
#060D19 #0F223F #1A3D71 #2558A3 #3573D0

Accessibility & contrast

On white

10.77
#1A3D71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#1A3D71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3D71
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3D71#FFFFFF#000000##FFFFFF
##1A3D711.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234273
Deuteranopia (green-blind)
#133A70
Tritanopia (blue-blind)
#004951
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1a3d71;
/* rgb */ color: rgb(26, 61, 113);
/* oklch */ color: oklch(36.4% 0.099 258.4);
Tailwind
colors: {
  custom: {
    50: '#64729a',
    500: '#1a3d71',
    950: '#000000',
  },
}
SCSS
$custom: #1a3d71;
$custom-light: #64729a;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3d71",
  "rgb": {
    "r": 26,
    "g": 61,
    "b": 113
  },
  "hsl": {
    "h": 215.862,
    "s": 62.59,
    "l": 27.255
  },
  "oklch": {
    "l": 0.36425,
    "c": 0.0985,
    "h": 258.4
  },
  "luminance": 0.04749
}

Semantic roles & 50–950 ramp

primary
#1A3D71
secondary
#A67D41
accent
#A442E6
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #1A3D71

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

Preview Lab → · Contrast checker → · Palette generator →

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