#1A3D7C#1A3D7C

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

Color values

HEX#1A3D7C
RGBrgb(26, 61, 124)
HSLhsl(219, 65%, 29%)
HSVhsv(219, 79%, 49%)
CMYKcmyk(79%, 50.8%, 0%, 51.4%)
CIE-LABlab(26.77, 11.73, -39.44)
CIE-LCHlch(26.77, 41.14, 286.56°)
OKLaboklab(37.26% -0.0179 -0.1133)
OKLCHoklch(37.26% 0.115 261)
XYZxyz(5.7315, 5.0117, 19.7302)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3D7C #7C591A
analogous
#1A6E7C #1A3D7C #281A7C
triadic
#1A3D7C #7C1A3D #3D7C1A
tetradic
#1A3D7C #7C1A6E #7C591A #1A7C28
square
#1A3D7C #7C1A6E #7C591A #1A7C28
split-complementary
#1A3D7C #7C281A #6E7C1A
monochromatic
#050C19 #0F2449 #1A3D7C #2556AF #3B72D6

Accessibility & contrast

On white

10.49
#1A3D7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A3D7C
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3D7C#FFFFFF#000000##FFFFFF
##1A3D7C1.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18447E
Deuteranopia (green-blind)
#003B7B
Tritanopia (blue-blind)
#004C56
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #1a3d7c;
/* rgb */ color: rgb(26, 61, 124);
/* oklch */ color: oklch(37.3% 0.115 261.0);
Tailwind
colors: {
  custom: {
    50: '#6671a2',
    500: '#1a3d7c',
    950: '#000000',
  },
}
SCSS
$custom: #1a3d7c;
$custom-light: #6671a2;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3d7c",
  "rgb": {
    "r": 26,
    "g": 61,
    "b": 124
  },
  "hsl": {
    "h": 218.571,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.37255,
    "c": 0.11474,
    "h": 261
  },
  "luminance": 0.05012
}

Semantic roles & 50–950 ramp

primary
#1A3D7C
secondary
#B08942
accent
#AC40E8
background
#F6F6FA
surface
#EBECF3
border
#C6C7CD
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #1A3D7C

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

Preview Lab → · Contrast checker → · Palette generator →

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