#1A336C#1A336C

#1A336C is a dark, moderate blue. Relative luminance 0.037; OKLCH L 33.7% C 0.104 H 263.9°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#1A336C
RGBrgb(26, 51, 108)
HSLhsl(222, 61%, 26%)
HSVhsv(222, 76%, 42%)
CMYKcmyk(75.9%, 52.8%, 0%, 57.6%)
CIE-LABlab(22.55, 12.22, -36.06)
CIE-LCHlch(22.55, 38.07, 288.73°)
OKLaboklab(33.66% -0.0111 -0.1036)
OKLCHoklch(33.66% 0.104 263.9)
XYZxyz(4.3156, 3.6695, 14.6653)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A336C #6C531A
analogous
#1A5C6C #1A336C #2A1A6C
triadic
#1A336C #6C1A33 #336C1A
tetradic
#1A336C #6C1A5C #6C531A #1A6C2A
square
#1A336C #6C1A5C #6C531A #1A6C2A
split-complementary
#1A336C #6C2A1A #5C6C1A
monochromatic
#060C19 #0E1C3B #1A336C #264A9D #3362CE

Accessibility & contrast

On white

12.11
#1A336C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A336C
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A336C#FFFFFF#000000##FFFFFF
##1A336C1.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#113A6E
Deuteranopia (green-blind)
#00326B
Tritanopia (blue-blind)
#00414A
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1a336c;
/* rgb */ color: rgb(26, 51, 108);
/* oklch */ color: oklch(33.7% 0.104 263.9);
Tailwind
colors: {
  custom: {
    50: '#636a96',
    500: '#1a336c',
    950: '#000000',
  },
}
SCSS
$custom: #1a336c;
$custom-light: #636a96;
$custom-dark: #000000;
JSON
{
  "hex": "#1a336c",
  "rgb": {
    "r": 26,
    "g": 51,
    "b": 108
  },
  "hsl": {
    "h": 221.707,
    "s": 61.194,
    "l": 26.275
  },
  "oklch": {
    "l": 0.33655,
    "c": 0.10419,
    "h": 263.9
  },
  "luminance": 0.0367
}

Semantic roles & 50–950 ramp

primary
#1A336C
secondary
#A18441
accent
#B343E4
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #1A336C

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

Preview Lab → · Contrast checker → · Palette generator →

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