#1A2C61#1A2C61

#1A2C61 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.1% C 0.097 H 266.6°. Best body text is #FFFFFF at 13.32:1 contrast (WCAG AA passes).

Color values

HEX#1A2C61
RGBrgb(26, 44, 97)
HSLhsl(225, 58%, 24%)
HSVhsv(225, 73%, 38%)
CMYKcmyk(73.2%, 54.6%, 0%, 62%)
CIE-LABlab(19.57, 12.76, -33.70)
CIE-LCHlch(19.57, 36.03, 290.74°)
OKLaboklab(31.13% -0.0057 -0.0968)
OKLCHoklch(31.13% 0.097 266.6)
XYZxyz(3.4836, 2.8837, 11.6800)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2C61 #614F1A
analogous
#1A5061 #1A2C61 #2C1A61
triadic
#1A2C61 #611A2C #2C611A
tetradic
#1A2C61 #611A50 #614F1A #1A612C
square
#1A2C61 #611A50 #614F1A #1A612C
split-complementary
#1A2C61 #612C1A #50611A
monochromatic
#060B18 #0D1631 #1A2C61 #274291 #3458C2

Accessibility & contrast

On white

13.32
#1A2C61 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#1A2C61 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2C61
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2C61#FFFFFF#000000##FFFFFF
##1A2C611.0013.321.5813.32
#FFFFFF13.321.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C3363
Deuteranopia (green-blind)
#002C60
Tritanopia (blue-blind)
#003942
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1a2c61;
/* rgb */ color: rgb(26, 44, 97);
/* oklch */ color: oklch(31.1% 0.097 266.6);
Tailwind
colors: {
  custom: {
    50: '#60648e',
    500: '#1a2c61',
    950: '#000000',
  },
}
SCSS
$custom: #1a2c61;
$custom-light: #60648e;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2c61",
  "rgb": {
    "r": 26,
    "g": 44,
    "b": 97
  },
  "hsl": {
    "h": 224.789,
    "s": 57.724,
    "l": 24.118
  },
  "oklch": {
    "l": 0.31126,
    "c": 0.09694,
    "h": 266.6
  },
  "luminance": 0.02884
}

Semantic roles & 50–950 ramp

primary
#1A2C61
secondary
#978140
accent
#BA47E1
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#05050C
muted
#7A797D

Preview Lab

Preview with #1A2C61

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

Preview Lab → · Contrast checker → · Palette generator →

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