#1A2A4F#1A2A4F

#1A2A4F is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.2% C 0.071 H 264.8°. Best body text is #FFFFFF at 14.11:1 contrast (WCAG AA passes).

Color values

HEX#1A2A4F
RGBrgb(26, 42, 79)
HSLhsl(222, 50%, 21%)
HSVhsv(222, 67%, 31%)
CMYKcmyk(67.1%, 46.8%, 0%, 69%)
CIE-LABlab(17.64, 6.88, -24.79)
CIE-LCHlch(17.64, 25.73, 285.50°)
OKLaboklab(29.24% -0.0065 -0.0706)
OKLCHoklch(29.24% 0.071 264.8)
XYZxyz(2.6648, 2.4398, 7.7261)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2A4F #4F3F1A
analogous
#1A444F #1A2A4F #241A4F
triadic
#1A2A4F #4F1A2A #2A4F1A
tetradic
#1A2A4F #4F1A44 #4F3F1A #1A4F24
square
#1A2A4F #4F1A44 #4F3F1A #1A4F24
split-complementary
#1A2A4F #4F241A #444F1A
monochromatic
#080C17 #0B1221 #1A2A4F #29427D #385BAB

Accessibility & contrast

On white

14.11
#1A2A4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#1A2A4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2A4F
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2A4F#FFFFFF#000000##FFFFFF
##1A2A4F1.0014.111.4914.11
#FFFFFF14.111.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192E50
Deuteranopia (green-blind)
#12294E
Tritanopia (blue-blind)
#003238
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #1a2a4f;
/* rgb */ color: rgb(26, 42, 79);
/* oklch */ color: oklch(29.2% 0.071 264.8);
Tailwind
colors: {
  custom: {
    50: '#5c6380',
    500: '#1a2a4f',
    950: '#000000',
  },
}
SCSS
$custom: #1a2a4f;
$custom-light: #5c6380;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2a4f",
  "rgb": {
    "r": 26,
    "g": 42,
    "b": 79
  },
  "hsl": {
    "h": 221.887,
    "s": 50.476,
    "l": 20.588
  },
  "oklch": {
    "l": 0.29237,
    "c": 0.07091,
    "h": 264.8
  },
  "luminance": 0.0244
}

Semantic roles & 50–950 ramp

primary
#1A2A4F
secondary
#857040
accent
#B04EDA
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#04050A
muted
#79797C

Preview Lab

Preview with #1A2A4F

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

Preview Lab → · Contrast checker → · Palette generator →

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