#1A2A55#1A2A55

#1A2A55 is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.7% C 0.081 H 266.2°. Best body text is #FFFFFF at 13.94:1 contrast (WCAG AA passes).

Color values

HEX#1A2A55
RGBrgb(26, 42, 85)
HSLhsl(224, 53%, 22%)
HSVhsv(224, 69%, 33%)
CMYKcmyk(69.4%, 50.6%, 0%, 66.7%)
CIE-LABlab(18.06, 9.31, -28.17)
CIE-LCHlch(18.06, 29.67, 288.29°)
OKLaboklab(29.69% -0.0053 -0.0805)
OKLCHoklch(29.69% 0.081 266.2)
XYZxyz(2.8931, 2.5312, 8.9287)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2A55 #55451A
analogous
#1A4855 #1A2A55 #281A55
triadic
#1A2A55 #551A2A #2A551A
tetradic
#1A2A55 #551A48 #55451A #1A5528
square
#1A2A55 #551A48 #55451A #1A5528
split-complementary
#1A2A55 #55281A #48551A
monochromatic
#070C17 #0C1326 #1A2A55 #284184 #3758B3

Accessibility & contrast

On white

13.94
#1A2A55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#1A2A55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2A55
13.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2A55#FFFFFF#000000##FFFFFF
##1A2A551.0013.941.5113.94
#FFFFFF13.941.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152F57
Deuteranopia (green-blind)
#0A2A54
Tritanopia (blue-blind)
#00343B
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1a2a55;
/* rgb */ color: rgb(26, 42, 85);
/* oklch */ color: oklch(29.7% 0.081 266.2);
Tailwind
colors: {
  custom: {
    50: '#5e6385',
    500: '#1a2a55',
    950: '#000000',
  },
}
SCSS
$custom: #1a2a55;
$custom-light: #5e6385;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2a55",
  "rgb": {
    "r": 26,
    "g": 42,
    "b": 85
  },
  "hsl": {
    "h": 223.729,
    "s": 53.153,
    "l": 21.765
  },
  "oklch": {
    "l": 0.29689,
    "c": 0.08071,
    "h": 266.2
  },
  "luminance": 0.02531
}

Semantic roles & 50–950 ramp

primary
#1A2A55
secondary
#8B7740
accent
#B54BDD
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#05050B
muted
#79797C

Preview Lab

Preview with #1A2A55

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

Preview Lab → · Contrast checker → · Palette generator →

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