#1A3662#1A3662

#1A3662 is a dark, moderate blue. Relative luminance 0.037; OKLCH L 33.6% C 0.085 H 259.1°. Best body text is #FFFFFF at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#1A3662
RGBrgb(26, 54, 98)
HSLhsl(217, 58%, 24%)
HSVhsv(217, 73%, 38%)
CMYKcmyk(73.5%, 44.9%, 0%, 61.6%)
CIE-LABlab(22.79, 5.97, -29.19)
CIE-LCHlch(22.79, 29.79, 281.57°)
OKLaboklab(33.62% -0.016 -0.0833)
OKLCHoklch(33.62% 0.085 259.1)
XYZxyz(3.9490, 3.7394, 12.0666)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3662 #62461A
analogous
#1A5A62 #1A3662 #221A62
triadic
#1A3662 #621A36 #36621A
tetradic
#1A3662 #621A5A #62461A #1A6222
square
#1A3662 #621A5A #62461A #1A6222
split-complementary
#1A3662 #62221A #5A621A
monochromatic
#060D18 #0D1B32 #1A3662 #275192 #346BC3

Accessibility & contrast

On white

12.01
#1A3662 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#1A3662 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3662
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3662#FFFFFF#000000##FFFFFF
##1A36621.0012.011.7512.01
#FFFFFF12.011.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213A64
Deuteranopia (green-blind)
#153361
Tritanopia (blue-blind)
#004047
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1a3662;
/* rgb */ color: rgb(26, 54, 98);
/* oklch */ color: oklch(33.6% 0.085 259.1);
Tailwind
colors: {
  custom: {
    50: '#606c8f',
    500: '#1a3662',
    950: '#000000',
  },
}
SCSS
$custom: #1a3662;
$custom-light: #606c8f;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3662",
  "rgb": {
    "r": 26,
    "g": 54,
    "b": 98
  },
  "hsl": {
    "h": 216.667,
    "s": 58.065,
    "l": 24.314
  },
  "oklch": {
    "l": 0.33617,
    "c": 0.08485,
    "h": 259.1
  },
  "luminance": 0.0374
}

Semantic roles & 50–950 ramp

primary
#1A3662
secondary
#987640
accent
#A547E1
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#05060C
muted
#7A7A7D

Preview Lab

Preview with #1A3662

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

Preview Lab → · Contrast checker → · Palette generator →

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