#1A337B#1A337B

#1A337B is a dark, vivid blue. Relative luminance 0.040; OKLCH L 34.9% C 0.127 H 265.6°. Best body text is #FFFFFF at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#1A337B
RGBrgb(26, 51, 123)
HSLhsl(225, 65%, 29%)
HSVhsv(225, 79%, 48%)
CMYKcmyk(78.9%, 58.5%, 0%, 51.8%)
CIE-LABlab(23.73, 18.38, -43.73)
CIE-LCHlch(23.73, 47.44, 292.80°)
OKLaboklab(34.92% -0.0097 -0.1262)
OKLCHoklch(34.92% 0.127 265.6)
XYZxyz(5.1837, 4.0167, 19.2372)
Luminance0.0402 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A337B #7B621A
analogous
#1A647B #1A337B #321A7B
triadic
#1A337B #7B1A33 #337B1A
tetradic
#1A337B #7B1A64 #7B621A #1A7B32
square
#1A337B #7B1A64 #7B621A #1A7B32
split-complementary
#1A337B #7B321A #647B1A
monochromatic
#050A19 #0F1E48 #1A337B #2548AE #3A62D5

Accessibility & contrast

On white

11.64
#1A337B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#1A337B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A337B
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A337B#FFFFFF#000000##FFFFFF
##1A337B1.0011.641.8011.64
#FFFFFF11.641.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7D
Deuteranopia (green-blind)
#00347A
Tritanopia (blue-blind)
#004551
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1a337b;
/* rgb */ color: rgb(26, 51, 123);
/* oklch */ color: oklch(34.9% 0.127 265.6);
Tailwind
colors: {
  custom: {
    50: '#676aa2',
    500: '#1a337b',
    950: '#000000',
  },
}
SCSS
$custom: #1a337b;
$custom-light: #676aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#1a337b",
  "rgb": {
    "r": 26,
    "g": 51,
    "b": 123
  },
  "hsl": {
    "h": 224.536,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.34921,
    "c": 0.12653,
    "h": 265.6
  },
  "luminance": 0.04017
}

Semantic roles & 50–950 ramp

primary
#1A337B
secondary
#AF9342
accent
#BD40E8
background
#F6F6FA
surface
#EBEBF3
border
#C6C6CD
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1A337B

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

Preview Lab → · Contrast checker → · Palette generator →

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