#1A2D52#1A2D52

#1A2D52 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.2% C 0.072 H 262.4°. Best body text is #FFFFFF at 13.63:1 contrast (WCAG AA passes).

Color values

HEX#1A2D52
RGBrgb(26, 45, 82)
HSLhsl(220, 52%, 21%)
HSVhsv(220, 68%, 32%)
CMYKcmyk(68.3%, 45.1%, 0%, 67.8%)
CIE-LABlab(18.82, 5.90, -24.94)
CIE-LCHlch(18.82, 25.63, 283.32°)
OKLaboklab(30.21% -0.0094 -0.071)
OKLCHoklch(30.21% 0.072 262.4)
XYZxyz(2.8868, 2.7053, 8.3511)
Luminance0.0271 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2D52 #523F1A
analogous
#1A4952 #1A2D52 #231A52
triadic
#1A2D52 #521A2D #2D521A
tetradic
#1A2D52 #521A49 #523F1A #1A5223
square
#1A2D52 #521A49 #523F1A #1A5223
split-complementary
#1A2D52 #52231A #49521A
monochromatic
#070D17 #0B1324 #1A2D52 #294680 #3760AF

Accessibility & contrast

On white

13.63
#1A2D52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#1A2D52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2D52
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2D52#FFFFFF#000000##FFFFFF
##1A2D521.0013.631.5413.63
#FFFFFF13.631.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3153
Deuteranopia (green-blind)
#142B51
Tritanopia (blue-blind)
#00353B
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1a2d52;
/* rgb */ color: rgb(26, 45, 82);
/* oklch */ color: oklch(30.2% 0.072 262.4);
Tailwind
colors: {
  custom: {
    50: '#5d6583',
    500: '#1a2d52',
    950: '#000000',
  },
}
SCSS
$custom: #1a2d52;
$custom-light: #5d6583;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2d52",
  "rgb": {
    "r": 26,
    "g": 45,
    "b": 82
  },
  "hsl": {
    "h": 219.643,
    "s": 51.852,
    "l": 21.176
  },
  "oklch": {
    "l": 0.3021,
    "c": 0.07163,
    "h": 262.4
  },
  "luminance": 0.02706
}

Semantic roles & 50–950 ramp

primary
#1A2D52
secondary
#887040
accent
#AB4CDB
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04050A
muted
#797A7C

Preview Lab

Preview with #1A2D52

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

Preview Lab → · Contrast checker → · Palette generator →

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