#1A2E52#1A2E52

#1A2E52 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.5% C 0.070 H 261.3°. Best body text is #FFFFFF at 13.49:1 contrast (WCAG AA passes).

Color values

HEX#1A2E52
RGBrgb(26, 46, 82)
HSLhsl(219, 52%, 21%)
HSVhsv(219, 68%, 32%)
CMYKcmyk(68.3%, 43.9%, 0%, 67.8%)
CIE-LABlab(19.15, 5.18, -24.41)
CIE-LCHlch(19.15, 24.96, 281.99°)
OKLaboklab(30.46% -0.0107 -0.0694)
OKLCHoklch(30.46% 0.07 261.3)
XYZxyz(2.9255, 2.7825, 8.3639)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2E52 #523E1A
analogous
#1A4A52 #1A2E52 #221A52
triadic
#1A2E52 #521A2E #2E521A
tetradic
#1A2E52 #521A4A #523E1A #1A5222
square
#1A2E52 #521A4A #523E1A #1A5222
split-complementary
#1A2E52 #52221A #4A521A
monochromatic
#070D17 #0B1424 #1A2E52 #294880 #3762AF

Accessibility & contrast

On white

13.49
#1A2E52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#1A2E52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2E52
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2E52#FFFFFF#000000##FFFFFF
##1A2E521.0013.491.5613.49
#FFFFFF13.491.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3153
Deuteranopia (green-blind)
#162C51
Tritanopia (blue-blind)
#00363C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1a2e52;
/* rgb */ color: rgb(26, 46, 82);
/* oklch */ color: oklch(30.5% 0.070 261.3);
Tailwind
colors: {
  custom: {
    50: '#5d6683',
    500: '#1a2e52',
    950: '#000000',
  },
}
SCSS
$custom: #1a2e52;
$custom-light: #5d6683;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2e52",
  "rgb": {
    "r": 26,
    "g": 46,
    "b": 82
  },
  "hsl": {
    "h": 218.571,
    "s": 51.852,
    "l": 21.176
  },
  "oklch": {
    "l": 0.30464,
    "c": 0.07026,
    "h": 261.3
  },
  "luminance": 0.02783
}

Semantic roles & 50–950 ramp

primary
#1A2E52
secondary
#886E40
accent
#A84CDB
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04050A
muted
#797A7C

Preview Lab

Preview with #1A2E52

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

Preview Lab → · Contrast checker → · Palette generator →

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