#1A2452#1A2452

#1A2452 is a dark, moderate blue. Relative luminance 0.021; OKLCH L 28.0% C 0.085 H 270.8°. Best body text is #FFFFFF at 14.81:1 contrast (WCAG AA passes).

Color values

HEX#1A2452
RGBrgb(26, 36, 82)
HSLhsl(229, 52%, 21%)
HSVhsv(229, 68%, 32%)
CMYKcmyk(68.3%, 56.1%, 0%, 67.8%)
CIE-LABlab(15.95, 12.52, -29.53)
CIE-LCHlch(15.95, 32.08, 292.98°)
OKLaboklab(28.02% 0.0012 -0.0846)
OKLCHoklch(28.02% 0.085 270.8)
XYZxyz(2.5794, 2.0903, 8.2486)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2452 #52481A
analogous
#1A4052 #1A2452 #2C1A52
triadic
#1A2452 #521A24 #24521A
tetradic
#1A2452 #521A40 #52481A #1A522C
square
#1A2452 #521A40 #52481A #1A522C
split-complementary
#1A2452 #522C1A #40521A
monochromatic
#070A17 #0B1024 #1A2452 #293880 #374DAF

Accessibility & contrast

On white

14.81
#1A2452 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#1A2452 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2452
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2452#FFFFFF#000000##FFFFFF
##1A24521.0014.811.4214.81
#FFFFFF14.811.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#092A54
Deuteranopia (green-blind)
#002551
Tritanopia (blue-blind)
#002F37
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1a2452;
/* rgb */ color: rgb(26, 36, 82);
/* oklch */ color: oklch(28.0% 0.085 270.8);
Tailwind
colors: {
  custom: {
    50: '#5d5e83',
    500: '#1a2452',
    950: '#000000',
  },
}
SCSS
$custom: #1a2452;
$custom-light: #5d5e83;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2452",
  "rgb": {
    "r": 26,
    "g": 36,
    "b": 82
  },
  "hsl": {
    "h": 229.286,
    "s": 51.852,
    "l": 21.176
  },
  "oklch": {
    "l": 0.28017,
    "c": 0.08465,
    "h": 270.8
  },
  "luminance": 0.02091
}

Semantic roles & 50–950 ramp

primary
#1A2452
secondary
#887B40
accent
#C24CDB
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#05040A
muted
#79797C

Preview Lab

Preview with #1A2452

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

Preview Lab → · Contrast checker → · Palette generator →

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