#1A3D7E#1A3D7E

#1A3D7E is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.4% C 0.118 H 261.4°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#1A3D7E
RGBrgb(26, 61, 126)
HSLhsl(219, 66%, 30%)
HSVhsv(219, 79%, 49%)
CMYKcmyk(79.4%, 51.6%, 0%, 50.6%)
CIE-LABlab(26.91, 12.55, -40.46)
CIE-LCHlch(26.91, 42.36, 287.23°)
OKLaboklab(37.41% -0.0176 -0.1163)
OKLCHoklch(37.41% 0.118 261.4)
XYZxyz(5.8593, 5.0628, 20.4030)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3D7E #7E5B1A
analogous
#1A6F7E #1A3D7E #291A7E
triadic
#1A3D7E #7E1A3D #3D7E1A
tetradic
#1A3D7E #7E1A6F #7E5B1A #1A7E29
square
#1A3D7E #7E1A6F #7E5B1A #1A7E29
split-complementary
#1A3D7E #7E291A #6F7E1A
monochromatic
#050C19 #10244B #1A3D7E #2456B1 #3C72D7

Accessibility & contrast

On white

10.43
#1A3D7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A3D7E
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3D7E#FFFFFF#000000##FFFFFF
##1A3D7E1.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164480
Deuteranopia (green-blind)
#003B7D
Tritanopia (blue-blind)
#004D57
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #1a3d7e;
/* rgb */ color: rgb(26, 61, 126);
/* oklch */ color: oklch(37.4% 0.118 261.4);
Tailwind
colors: {
  custom: {
    50: '#6771a4',
    500: '#1a3d7e',
    950: '#000000',
  },
}
SCSS
$custom: #1a3d7e;
$custom-light: #6771a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3d7e",
  "rgb": {
    "r": 26,
    "g": 61,
    "b": 126
  },
  "hsl": {
    "h": 219,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.37412,
    "c": 0.11767,
    "h": 261.4
  },
  "luminance": 0.05063
}

Semantic roles & 50–950 ramp

primary
#1A3D7E
secondary
#B28B42
accent
#AD3FE9
background
#F6F6FA
surface
#EBECF4
border
#C6C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #1A3D7E

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

Preview Lab → · Contrast checker → · Palette generator →

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