#1A3B7D#1A3B7D

#1A3B7D is a dark, moderate blue. Relative luminance 0.048; OKLCH L 36.9% C 0.119 H 262.3°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#1A3B7D
RGBrgb(26, 59, 125)
HSLhsl(220, 66%, 30%)
HSVhsv(220, 79%, 49%)
CMYKcmyk(79.2%, 52.8%, 0%, 51%)
CIE-LABlab(26.24, 13.54, -40.92)
CIE-LCHlch(26.24, 43.10, 288.31°)
OKLaboklab(36.87% -0.016 -0.1177)
OKLCHoklch(36.87% 0.119 262.3)
XYZxyz(5.6903, 4.8276, 20.0300)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3B7D #7D5C1A
analogous
#1A6D7D #1A3B7D #2B1A7D
triadic
#1A3B7D #7D1A3B #3B7D1A
tetradic
#1A3B7D #7D1A6D #7D5C1A #1A7D2B
square
#1A3B7D #7D1A6D #7D5C1A #1A7D2B
split-complementary
#1A3B7D #7D2B1A #6D7D1A
monochromatic
#050C19 #0F234A #1A3B7D #2553B0 #3B6FD6

Accessibility & contrast

On white

10.68
#1A3B7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#1A3B7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3B7D
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3B7D#FFFFFF#000000##FFFFFF
##1A3B7D1.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11437F
Deuteranopia (green-blind)
#003A7C
Tritanopia (blue-blind)
#004B56
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1a3b7d;
/* rgb */ color: rgb(26, 59, 125);
/* oklch */ color: oklch(36.9% 0.119 262.3);
Tailwind
colors: {
  custom: {
    50: '#6770a3',
    500: '#1a3b7d',
    950: '#000000',
  },
}
SCSS
$custom: #1a3b7d;
$custom-light: #6770a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3b7d",
  "rgb": {
    "r": 26,
    "g": 59,
    "b": 125
  },
  "hsl": {
    "h": 220,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.36873,
    "c": 0.11883,
    "h": 262.3
  },
  "luminance": 0.04828
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1A3B7D

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

Preview Lab → · Contrast checker → · Palette generator →

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