#1A3D80#1A3D80

#1A3D80 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 37.6% C 0.121 H 261.8°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#1A3D80
RGBrgb(26, 61, 128)
HSLhsl(219, 66%, 30%)
HSVhsv(219, 80%, 50%)
CMYKcmyk(79.7%, 52.3%, 0%, 49.8%)
CIE-LABlab(27.06, 13.37, -41.48)
CIE-LCHlch(27.06, 43.58, 287.87°)
OKLaboklab(37.57% -0.0173 -0.1193)
OKLCHoklch(37.57% 0.121 261.8)
XYZxyz(5.9896, 5.1149, 21.0895)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3D80 #805D1A
analogous
#1A7080 #1A3D80 #2A1A80
triadic
#1A3D80 #801A3D #3D801A
tetradic
#1A3D80 #801A70 #805D1A #1A802A
square
#1A3D80 #801A70 #805D1A #1A802A
split-complementary
#1A3D80 #802A1A #70801A
monochromatic
#050D1A #10254D #1A3D80 #2455B3 #3D72D8

Accessibility & contrast

On white

10.38
#1A3D80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#1A3D80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3D80
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3D80#FFFFFF#000000##FFFFFF
##1A3D801.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134582
Deuteranopia (green-blind)
#003C7F
Tritanopia (blue-blind)
#004D58
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #1a3d80;
/* rgb */ color: rgb(26, 61, 128);
/* oklch */ color: oklch(37.6% 0.121 261.8);
Tailwind
colors: {
  custom: {
    50: '#6771a5',
    500: '#1a3d80',
    950: '#000000',
  },
}
SCSS
$custom: #1a3d80;
$custom-light: #6771a5;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3d80",
  "rgb": {
    "r": 26,
    "g": 61,
    "b": 128
  },
  "hsl": {
    "h": 219.412,
    "s": 66.234,
    "l": 30.196
  },
  "oklch": {
    "l": 0.37571,
    "c": 0.12059,
    "h": 261.8
  },
  "luminance": 0.05116
}

Semantic roles & 50–950 ramp

primary
#1A3D80
secondary
#B48D42
accent
#AF3FE9
background
#F6F6FA
surface
#EBECF4
border
#C6C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #1A3D80

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

Preview Lab → · Contrast checker → · Palette generator →

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