#1A2A4C#1A2A4C

#1A2A4C is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.0% C 0.066 H 263.8°. Best body text is #FFFFFF at 14.19:1 contrast (WCAG AA passes).

Color values

HEX#1A2A4C
RGBrgb(26, 42, 76)
HSLhsl(221, 49%, 20%)
HSVhsv(221, 66%, 30%)
CMYKcmyk(65.8%, 44.7%, 0%, 70.2%)
CIE-LABlab(17.45, 5.67, -23.07)
CIE-LCHlch(17.45, 23.76, 283.81°)
OKLaboklab(29.02% -0.0072 -0.0656)
OKLCHoklch(29.02% 0.066 263.8)
XYZxyz(2.5580, 2.3971, 7.1640)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2A4C #4C3C1A
analogous
#1A434C #1A2A4C #231A4C
triadic
#1A2A4C #4C1A2A #2A4C1A
tetradic
#1A2A4C #4C1A43 #4C3C1A #1A4C23
square
#1A2A4C #4C1A43 #4C3C1A #1A4C23
split-complementary
#1A2A4C #4C231A #434C1A
monochromatic
#080D17 #0A111E #1A2A4C #2A437A #395CA7

Accessibility & contrast

On white

14.19
#1A2A4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A2A4C
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2A4C#FFFFFF#000000##FFFFFF
##1A2A4C1.0014.191.4814.19
#FFFFFF14.191.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2D4D
Deuteranopia (green-blind)
#15294B
Tritanopia (blue-blind)
#003237
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #1a2a4c;
/* rgb */ color: rgb(26, 42, 76);
/* oklch */ color: oklch(29.0% 0.066 263.8);
Tailwind
colors: {
  custom: {
    50: '#5c637e',
    500: '#1a2a4c',
    950: '#000000',
  },
}
SCSS
$custom: #1a2a4c;
$custom-light: #5c637e;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2a4c",
  "rgb": {
    "r": 26,
    "g": 42,
    "b": 76
  },
  "hsl": {
    "h": 220.8,
    "s": 49.02,
    "l": 20
  },
  "oklch": {
    "l": 0.2902,
    "c": 0.06597,
    "h": 263.8
  },
  "luminance": 0.02397
}

Semantic roles & 50–950 ramp

primary
#1A2A4C
secondary
#826D40
accent
#AD4FD9
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#04050A
muted
#79797C

Preview Lab

Preview with #1A2A4C

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

Preview Lab → · Contrast checker → · Palette generator →

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