#1A3C7F#1A3C7F

#1A3C7F is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.3% C 0.120 H 262.1°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#1A3C7F
RGBrgb(26, 60, 127)
HSLhsl(220, 66%, 30%)
HSVhsv(220, 80%, 50%)
CMYKcmyk(79.5%, 52.8%, 0%, 50.2%)
CIE-LABlab(26.69, 13.66, -41.45)
CIE-LCHlch(26.69, 43.65, 288.24°)
OKLaboklab(37.26% -0.0166 -0.1193)
OKLCHoklch(37.26% 0.12 262.1)
XYZxyz(5.8712, 4.9830, 20.7269)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3C7F #7F5D1A
analogous
#1A6E7F #1A3C7F #2B1A7F
triadic
#1A3C7F #7F1A3C #3C7F1A
tetradic
#1A3C7F #7F1A6E #7F5D1A #1A7F2B
square
#1A3C7F #7F1A6E #7F5D1A #1A7F2B
split-complementary
#1A3C7F #7F2B1A #6E7F1A
monochromatic
#050C19 #10244C #1A3C7F #2454B2 #3C70D7

Accessibility & contrast

On white

10.52
#1A3C7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#1A3C7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3C7F
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3C7F#FFFFFF#000000##FFFFFF
##1A3C7F1.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114481
Deuteranopia (green-blind)
#003B7E
Tritanopia (blue-blind)
#004C57
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #1a3c7f;
/* rgb */ color: rgb(26, 60, 127);
/* oklch */ color: oklch(37.3% 0.120 262.1);
Tailwind
colors: {
  custom: {
    50: '#6771a5',
    500: '#1a3c7f',
    950: '#000000',
  },
}
SCSS
$custom: #1a3c7f;
$custom-light: #6771a5;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3c7f",
  "rgb": {
    "r": 26,
    "g": 60,
    "b": 127
  },
  "hsl": {
    "h": 219.802,
    "s": 66.013,
    "l": 30
  },
  "oklch": {
    "l": 0.37263,
    "c": 0.12044,
    "h": 262.1
  },
  "luminance": 0.04984
}

Semantic roles & 50–950 ramp

primary
#1A3C7F
secondary
#B38D42
accent
#B03FE9
background
#F6F6FA
surface
#EBECF4
border
#C6C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #1A3C7F

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

Preview Lab → · Contrast checker → · Palette generator →

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