#1A2D80#1A2D80

#1A2D80 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.1% C 0.142 H 267.9°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#1A2D80
RGBrgb(26, 45, 128)
HSLhsl(229, 66%, 30%)
HSVhsv(229, 80%, 50%)
CMYKcmyk(79.7%, 64.8%, 0%, 49.8%)
CIE-LABlab(22.49, 24.61, -48.90)
CIE-LCHlch(22.49, 54.74, 296.71°)
OKLaboklab(34.14% -0.0053 -0.1414)
OKLCHoklch(34.14% 0.142 267.9)
XYZxyz(5.2593, 3.6543, 20.8461)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2D80 #806D1A
analogous
#1A6080 #1A2D80 #3A1A80
triadic
#1A2D80 #801A2D #2D801A
tetradic
#1A2D80 #801A60 #806D1A #1A803A
square
#1A2D80 #801A60 #806D1A #1A803A
split-complementary
#1A2D80 #803A1A #60801A
monochromatic
#05091A #101B4D #1A2D80 #243FB3 #3D5AD8

Accessibility & contrast

On white

12.13
#1A2D80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#1A2D80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2D80
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2D80#FFFFFF#000000##FFFFFF
##1A2D801.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B83
Deuteranopia (green-blind)
#00317E
Tritanopia (blue-blind)
#004352
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1a2d80;
/* rgb */ color: rgb(26, 45, 128);
/* oklch */ color: oklch(34.1% 0.142 267.9);
Tailwind
colors: {
  custom: {
    50: '#6965a6',
    500: '#1a2d80',
    950: '#000000',
  },
}
SCSS
$custom: #1a2d80;
$custom-light: #6965a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2d80",
  "rgb": {
    "r": 26,
    "g": 45,
    "b": 128
  },
  "hsl": {
    "h": 228.824,
    "s": 66.234,
    "l": 30.196
  },
  "oklch": {
    "l": 0.34139,
    "c": 0.14152,
    "h": 267.9
  },
  "luminance": 0.03655
}

Semantic roles & 50–950 ramp

primary
#1A2D80
secondary
#B49F42
accent
#C93FE9
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07050F
muted
#7A7A7F

Preview Lab

Preview with #1A2D80

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

Preview Lab → · Contrast checker → · Palette generator →

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