#1A3C7D#1A3C7D

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

Color values

HEX#1A3C7D
RGBrgb(26, 60, 125)
HSLhsl(219, 66%, 30%)
HSVhsv(219, 79%, 49%)
CMYKcmyk(79.2%, 52%, 0%, 51%)
CIE-LABlab(26.54, 12.84, -40.44)
CIE-LCHlch(26.54, 42.43, 287.61°)
OKLaboklab(37.1% -0.0168 -0.1163)
OKLCHoklch(37.1% 0.118 261.8)
XYZxyz(5.7422, 4.9313, 20.0473)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3C7D #7D5B1A
analogous
#1A6E7D #1A3C7D #2A1A7D
triadic
#1A3C7D #7D1A3C #3C7D1A
tetradic
#1A3C7D #7D1A6E #7D5B1A #1A7D2A
square
#1A3C7D #7D1A6E #7D5B1A #1A7D2A
split-complementary
#1A3C7D #7D2A1A #6E7D1A
monochromatic
#050C19 #0F244A #1A3C7D #2554B0 #3B70D6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1A3C7D#FFFFFF#000000##FFFFFF
##1A3C7D1.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)
#14447F
Deuteranopia (green-blind)
#003A7C
Tritanopia (blue-blind)
#004C56
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #1a3c7d;
/* rgb */ color: rgb(26, 60, 125);
/* oklch */ color: oklch(37.1% 0.118 261.8);
Tailwind
colors: {
  custom: {
    50: '#6771a3',
    500: '#1a3c7d',
    950: '#000000',
  },
}
SCSS
$custom: #1a3c7d;
$custom-light: #6771a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3c7d",
  "rgb": {
    "r": 26,
    "g": 60,
    "b": 125
  },
  "hsl": {
    "h": 219.394,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.37103,
    "c": 0.11751,
    "h": 261.8
  },
  "luminance": 0.04932
}

Semantic roles & 50–950 ramp

primary
#1A3C7D
secondary
#B18B42
accent
#AE3FE9
background
#F6F6FA
surface
#EBECF4
border
#C6C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #1A3C7D

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

Preview Lab → · Contrast checker → · Palette generator →

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