#1A3161#1A3161

#1A3161 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.3% C 0.090 H 263.1°. Best body text is #FFFFFF at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#1A3161
RGBrgb(26, 49, 97)
HSLhsl(221, 58%, 24%)
HSVhsv(221, 73%, 38%)
CMYKcmyk(73.2%, 49.5%, 0%, 62%)
CIE-LABlab(21.13, 9.13, -31.19)
CIE-LCHlch(21.13, 32.50, 286.32°)
OKLaboklab(32.31% -0.0109 -0.0893)
OKLCHoklch(32.31% 0.09 263.1)
XYZxyz(3.6812, 3.2789, 11.7458)
Luminance0.0328 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3161 #614A1A
analogous
#1A5561 #1A3161 #261A61
triadic
#1A3161 #611A31 #31611A
tetradic
#1A3161 #611A55 #614A1A #1A6126
square
#1A3161 #611A55 #614A1A #1A6126
split-complementary
#1A3161 #61261A #55611A
monochromatic
#060C18 #0D1931 #1A3161 #274991 #3462C2

Accessibility & contrast

On white

12.68
#1A3161 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#1A3161 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3161
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3161#FFFFFF#000000##FFFFFF
##1A31611.0012.681.6612.68
#FFFFFF12.681.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183663
Deuteranopia (green-blind)
#0A3060
Tritanopia (blue-blind)
#003C44
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1a3161;
/* rgb */ color: rgb(26, 49, 97);
/* oklch */ color: oklch(32.3% 0.090 263.1);
Tailwind
colors: {
  custom: {
    50: '#60688e',
    500: '#1a3161',
    950: '#000000',
  },
}
SCSS
$custom: #1a3161;
$custom-light: #60688e;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3161",
  "rgb": {
    "r": 26,
    "g": 49,
    "b": 97
  },
  "hsl": {
    "h": 220.563,
    "s": 57.724,
    "l": 24.118
  },
  "oklch": {
    "l": 0.32314,
    "c": 0.08998,
    "h": 263.1
  },
  "luminance": 0.03279
}

Semantic roles & 50–950 ramp

primary
#1A3161
secondary
#977B40
accent
#AF47E1
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #1A3161

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

Preview Lab → · Contrast checker → · Palette generator →

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