#1A2A4D#1A2A4D

#1A2A4D is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.1% C 0.068 H 264.1°. Best body text is #FFFFFF at 14.17:1 contrast (WCAG AA passes).

Color values

HEX#1A2A4D
RGBrgb(26, 42, 77)
HSLhsl(221, 50%, 20%)
HSVhsv(221, 66%, 30%)
CMYKcmyk(66.2%, 45.5%, 0%, 69.8%)
CIE-LABlab(17.51, 6.07, -23.65)
CIE-LCHlch(17.51, 24.42, 284.40°)
OKLaboklab(29.09% -0.0069 -0.0673)
OKLCHoklch(29.09% 0.068 264.1)
XYZxyz(2.5931, 2.4111, 7.3485)
Luminance0.0241 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2A4D #4D3D1A
analogous
#1A444D #1A2A4D #231A4D
triadic
#1A2A4D #4D1A2A #2A4D1A
tetradic
#1A2A4D #4D1A44 #4D3D1A #1A4D23
square
#1A2A4D #4D1A44 #4D3D1A #1A4D23
split-complementary
#1A2A4D #4D231A #444D1A
monochromatic
#080C17 #0B111F #1A2A4D #29437B #395CA9

Accessibility & contrast

On white

14.17
#1A2A4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#1A2A4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2A4D
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2A4D#FFFFFF#000000##FFFFFF
##1A2A4D1.0014.171.4814.17
#FFFFFF14.171.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2D4E
Deuteranopia (green-blind)
#14294C
Tritanopia (blue-blind)
#003237
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #1a2a4d;
/* rgb */ color: rgb(26, 42, 77);
/* oklch */ color: oklch(29.1% 0.068 264.1);
Tailwind
colors: {
  custom: {
    50: '#5c637f',
    500: '#1a2a4d',
    950: '#000000',
  },
}
SCSS
$custom: #1a2a4d;
$custom-light: #5c637f;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2a4d",
  "rgb": {
    "r": 26,
    "g": 42,
    "b": 77
  },
  "hsl": {
    "h": 221.176,
    "s": 49.515,
    "l": 20.196
  },
  "oklch": {
    "l": 0.29092,
    "c": 0.06762,
    "h": 264.1
  },
  "luminance": 0.02411
}

Semantic roles & 50–950 ramp

primary
#1A2A4D
secondary
#836E40
accent
#AE4FD9
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#04050A
muted
#79797C

Preview Lab

Preview with #1A2A4D

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

Preview Lab → · Contrast checker → · Palette generator →

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