#1A3152#1A3152

#1A3152 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.2% C 0.066 H 257.5°. Best body text is #FFFFFF at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#1A3152
RGBrgb(26, 49, 82)
HSLhsl(215, 52%, 21%)
HSVhsv(215, 68%, 32%)
CMYKcmyk(68.3%, 40.2%, 0%, 67.8%)
CIE-LABlab(20.14, 3.04, -22.84)
CIE-LCHlch(20.14, 23.04, 277.57°)
OKLaboklab(31.24% -0.0143 -0.0648)
OKLCHoklch(31.24% 0.066 257.5)
XYZxyz(3.0468, 3.0252, 8.4044)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3152 #523B1A
analogous
#1A4D52 #1A3152 #1F1A52
triadic
#1A3152 #521A31 #31521A
tetradic
#1A3152 #521A4D #523B1A #1A521F
square
#1A3152 #521A4D #523B1A #1A521F
split-complementary
#1A3152 #521F1A #4D521A
monochromatic
#070E17 #0B1524 #1A3152 #294D80 #3769AF

Accessibility & contrast

On white

13.08
#1A3152 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#1A3152 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3152
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3152#FFFFFF#000000##FFFFFF
##1A31521.0013.081.6113.08
#FFFFFF13.081.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#233353
Deuteranopia (green-blind)
#1B2E51
Tritanopia (blue-blind)
#00393D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1a3152;
/* rgb */ color: rgb(26, 49, 82);
/* oklch */ color: oklch(31.2% 0.066 257.5);
Tailwind
colors: {
  custom: {
    50: '#5d6883',
    500: '#1a3152',
    950: '#000000',
  },
}
SCSS
$custom: #1a3152;
$custom-light: #5d6883;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3152",
  "rgb": {
    "r": 26,
    "g": 49,
    "b": 82
  },
  "hsl": {
    "h": 215.357,
    "s": 51.852,
    "l": 21.176
  },
  "oklch": {
    "l": 0.31235,
    "c": 0.06637,
    "h": 257.5
  },
  "luminance": 0.03025
}

Semantic roles & 50–950 ramp

primary
#1A3152
secondary
#886A40
accent
#A14CDB
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04060A
muted
#797A7C

Preview Lab

Preview with #1A3152

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

Preview Lab → · Contrast checker → · Palette generator →

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