#1A3D7D#1A3D7D

#1A3D7D is a dark, moderate blue. Relative luminance 0.050; OKLCH L 37.3% C 0.116 H 261.2°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#1A3D7D
RGBrgb(26, 61, 125)
HSLhsl(219, 66%, 30%)
HSVhsv(219, 79%, 49%)
CMYKcmyk(79.2%, 51.2%, 0%, 51%)
CIE-LABlab(26.84, 12.14, -39.95)
CIE-LCHlch(26.84, 41.75, 286.90°)
OKLaboklab(37.33% -0.0177 -0.1148)
OKLCHoklch(37.33% 0.116 261.2)
XYZxyz(5.7951, 5.0371, 20.0649)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3D7D #7D5A1A
analogous
#1A6F7D #1A3D7D #291A7D
triadic
#1A3D7D #7D1A3D #3D7D1A
tetradic
#1A3D7D #7D1A6F #7D5A1A #1A7D29
square
#1A3D7D #7D1A6F #7D5A1A #1A7D29
split-complementary
#1A3D7D #7D291A #6F7D1A
monochromatic
#050C19 #0F244A #1A3D7D #2556B0 #3B72D6

Accessibility & contrast

On white

10.46
#1A3D7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A3D7D
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3D7D#FFFFFF#000000##FFFFFF
##1A3D7D1.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17447F
Deuteranopia (green-blind)
#003B7C
Tritanopia (blue-blind)
#004C57
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #1a3d7d;
/* rgb */ color: rgb(26, 61, 125);
/* oklch */ color: oklch(37.3% 0.116 261.2);
Tailwind
colors: {
  custom: {
    50: '#6771a3',
    500: '#1a3d7d',
    950: '#000000',
  },
}
SCSS
$custom: #1a3d7d;
$custom-light: #6771a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3d7d",
  "rgb": {
    "r": 26,
    "g": 61,
    "b": 125
  },
  "hsl": {
    "h": 218.788,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.37333,
    "c": 0.11621,
    "h": 261.2
  },
  "luminance": 0.05038
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1A3D7D

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

Preview Lab → · Contrast checker → · Palette generator →

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