#1A2C52#1A2C52

#1A2C52 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.0% C 0.073 H 263.5°. Best body text is #FFFFFF at 13.76:1 contrast (WCAG AA passes).

Color values

HEX#1A2C52
RGBrgb(26, 44, 82)
HSLhsl(221, 52%, 21%)
HSVhsv(221, 68%, 32%)
CMYKcmyk(68.3%, 46.3%, 0%, 67.8%)
CIE-LABlab(18.50, 6.63, -25.46)
CIE-LCHlch(18.50, 26.31, 284.60°)
OKLaboklab(29.96% -0.0082 -0.0725)
OKLCHoklch(29.96% 0.073 263.5)
XYZxyz(2.8491, 2.6299, 8.3385)
Luminance0.0263 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2C52 #52401A
analogous
#1A4852 #1A2C52 #241A52
triadic
#1A2C52 #521A2C #2C521A
tetradic
#1A2C52 #521A48 #52401A #1A5224
square
#1A2C52 #521A48 #52401A #1A5224
split-complementary
#1A2C52 #52241A #48521A
monochromatic
#070C17 #0B1324 #1A2C52 #294580 #375EAF

Accessibility & contrast

On white

13.76
#1A2C52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#1A2C52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2C52
13.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2C52#FFFFFF#000000##FFFFFF
##1A2C521.0013.761.5313.76
#FFFFFF13.761.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3053
Deuteranopia (green-blind)
#122B51
Tritanopia (blue-blind)
#00353B
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1a2c52;
/* rgb */ color: rgb(26, 44, 82);
/* oklch */ color: oklch(30.0% 0.073 263.5);
Tailwind
colors: {
  custom: {
    50: '#5d6483',
    500: '#1a2c52',
    950: '#000000',
  },
}
SCSS
$custom: #1a2c52;
$custom-light: #5d6483;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2c52",
  "rgb": {
    "r": 26,
    "g": 44,
    "b": 82
  },
  "hsl": {
    "h": 220.714,
    "s": 51.852,
    "l": 21.176
  },
  "oklch": {
    "l": 0.29958,
    "c": 0.07301,
    "h": 263.5
  },
  "luminance": 0.0263
}

Semantic roles & 50–950 ramp

primary
#1A2C52
secondary
#887140
accent
#AD4CDB
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050A
muted
#79797C

Preview Lab

Preview with #1A2C52

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

Preview Lab → · Contrast checker → · Palette generator →

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