#1A2E53#1A2E53

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

Color values

HEX#1A2E53
RGBrgb(26, 46, 83)
HSLhsl(219, 52%, 21%)
HSVhsv(219, 69%, 33%)
CMYKcmyk(68.7%, 44.6%, 0%, 67.5%)
CIE-LABlab(19.22, 5.59, -24.98)
CIE-LCHlch(19.22, 25.60, 282.60°)
OKLaboklab(30.53% -0.0104 -0.0711)
OKLCHoklch(30.53% 0.072 261.7)
XYZxyz(2.9638, 2.7979, 8.5658)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2E53 #533F1A
analogous
#1A4B53 #1A2E53 #231A53
triadic
#1A2E53 #531A2E #2E531A
tetradic
#1A2E53 #531A4B #533F1A #1A5323
square
#1A2E53 #531A4B #533F1A #1A5323
split-complementary
#1A2E53 #53231A #4B531A
monochromatic
#070D17 #0B1424 #1A2E53 #294882 #3762B0

Accessibility & contrast

On white

13.46
#1A2E53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A2E53
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2E53#FFFFFF#000000##FFFFFF
##1A2E531.0013.461.5613.46
#FFFFFF13.461.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3154
Deuteranopia (green-blind)
#152C52
Tritanopia (blue-blind)
#00363C
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1a2e53;
/* rgb */ color: rgb(26, 46, 83);
/* oklch */ color: oklch(30.5% 0.072 261.7);
Tailwind
colors: {
  custom: {
    50: '#5d6683',
    500: '#1a2e53',
    950: '#000000',
  },
}
SCSS
$custom: #1a2e53;
$custom-light: #5d6683;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2e53",
  "rgb": {
    "r": 26,
    "g": 46,
    "b": 83
  },
  "hsl": {
    "h": 218.947,
    "s": 52.294,
    "l": 21.373
  },
  "oklch": {
    "l": 0.30534,
    "c": 0.07187,
    "h": 261.7
  },
  "luminance": 0.02798
}

Semantic roles & 50–950 ramp

primary
#1A2E53
secondary
#896F40
accent
#A94CDC
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04050A
muted
#797A7C

Preview Lab

Preview with #1A2E53

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

Preview Lab → · Contrast checker → · Palette generator →

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