#1A335A#1A335A

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

Color values

HEX#1A335A
RGBrgb(26, 51, 90)
HSLhsl(217, 55%, 23%)
HSVhsv(217, 71%, 35%)
CMYKcmyk(71.1%, 43.3%, 0%, 64.7%)
CIE-LABlab(21.30, 4.84, -26.31)
CIE-LCHlch(21.30, 26.76, 280.43°)
OKLaboklab(32.3% -0.0146 -0.0749)
OKLCHoklch(32.3% 0.076 259)
XYZxyz(3.4546, 3.3251, 10.1306)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A335A #5A411A
analogous
#1A535A #1A335A #211A5A
triadic
#1A335A #5A1A33 #335A1A
tetradic
#1A335A #5A1A53 #5A411A #1A5A21
square
#1A335A #5A1A53 #5A411A #1A5A21
split-complementary
#1A335A #5A211A #535A1A
monochromatic
#070D18 #0C182B #1A335A #284E89 #3569B9

Accessibility & contrast

On white

12.61
#1A335A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#1A335A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A335A
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A335A#FFFFFF#000000##FFFFFF
##1A335A1.0012.611.6712.61
#FFFFFF12.611.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21365C
Deuteranopia (green-blind)
#183059
Tritanopia (blue-blind)
#003C42
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1a335a;
/* rgb */ color: rgb(26, 51, 90);
/* oklch */ color: oklch(32.3% 0.076 259.0);
Tailwind
colors: {
  custom: {
    50: '#5f6a89',
    500: '#1a335a',
    950: '#000000',
  },
}
SCSS
$custom: #1a335a;
$custom-light: #5f6a89;
$custom-dark: #000000;
JSON
{
  "hex": "#1a335a",
  "rgb": {
    "r": 26,
    "g": 51,
    "b": 90
  },
  "hsl": {
    "h": 216.563,
    "s": 55.172,
    "l": 22.745
  },
  "oklch": {
    "l": 0.32296,
    "c": 0.07635,
    "h": 259
  },
  "luminance": 0.03325
}

Semantic roles & 50–950 ramp

primary
#1A335A
secondary
#907140
accent
#A449DF
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05060B
muted
#797A7C

Preview Lab

Preview with #1A335A

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

Preview Lab → · Contrast checker → · Palette generator →

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