#1A336A#1A336A

#1A336A is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.5% C 0.101 H 263.5°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#1A336A
RGBrgb(26, 51, 106)
HSLhsl(221, 61%, 26%)
HSVhsv(221, 75%, 42%)
CMYKcmyk(75.5%, 51.9%, 0%, 58.4%)
CIE-LABlab(22.40, 11.40, -35.01)
CIE-LCHlch(22.40, 36.82, 288.04°)
OKLaboklab(33.5% -0.0114 -0.1005)
OKLCHoklch(33.5% 0.101 263.5)
XYZxyz(4.2104, 3.6274, 14.1111)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A336A #6A511A
analogous
#1A5B6A #1A336A #291A6A
triadic
#1A336A #6A1A33 #336A1A
tetradic
#1A336A #6A1A5B #6A511A #1A6A29
square
#1A336A #6A1A5B #6A511A #1A6A29
split-complementary
#1A336A #6A291A #5B6A1A
monochromatic
#060C19 #0E1B39 #1A336A #264B9B #3262CC

Accessibility & contrast

On white

12.17
#1A336A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#1A336A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A336A
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A336A#FFFFFF#000000##FFFFFF
##1A336A1.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14396C
Deuteranopia (green-blind)
#003269
Tritanopia (blue-blind)
#004049
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1a336a;
/* rgb */ color: rgb(26, 51, 106);
/* oklch */ color: oklch(33.5% 0.101 263.5);
Tailwind
colors: {
  custom: {
    50: '#626a95',
    500: '#1a336a',
    950: '#000000',
  },
}
SCSS
$custom: #1a336a;
$custom-light: #626a95;
$custom-dark: #000000;
JSON
{
  "hex": "#1a336a",
  "rgb": {
    "r": 26,
    "g": 51,
    "b": 106
  },
  "hsl": {
    "h": 221.25,
    "s": 60.606,
    "l": 25.882
  },
  "oklch": {
    "l": 0.33495,
    "c": 0.10114,
    "h": 263.5
  },
  "luminance": 0.03628
}

Semantic roles & 50–950 ramp

primary
#1A336A
secondary
#9F8240
accent
#B244E4
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #1A336A

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

Preview Lab → · Contrast checker → · Palette generator →

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