#1A337A#1A337A

#1A337A is a dark, vivid blue. Relative luminance 0.040; OKLCH L 34.8% C 0.125 H 265.5°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#1A337A
RGBrgb(26, 51, 122)
HSLhsl(224, 65%, 29%)
HSVhsv(224, 79%, 48%)
CMYKcmyk(78.7%, 58.2%, 0%, 52.2%)
CIE-LABlab(23.64, 17.97, -43.23)
CIE-LCHlch(23.64, 46.82, 292.57°)
OKLaboklab(34.83% -0.0097 -0.1247)
OKLCHoklch(34.83% 0.125 265.5)
XYZxyz(5.1214, 3.9918, 18.9092)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A337A #7A611A
analogous
#1A637A #1A337A #311A7A
triadic
#1A337A #7A1A33 #337A1A
tetradic
#1A337A #7A1A63 #7A611A #1A7A31
square
#1A337A #7A1A63 #7A611A #1A7A31
split-complementary
#1A337A #7A311A #637A1A
monochromatic
#050B19 #0F1E48 #1A337A #2548AC #3962D5

Accessibility & contrast

On white

11.68
#1A337A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A337A
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A337A#FFFFFF#000000##FFFFFF
##1A337A1.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7C
Deuteranopia (green-blind)
#003479
Tritanopia (blue-blind)
#004551
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1a337a;
/* rgb */ color: rgb(26, 51, 122);
/* oklch */ color: oklch(34.8% 0.125 265.5);
Tailwind
colors: {
  custom: {
    50: '#666aa1',
    500: '#1a337a',
    950: '#000000',
  },
}
SCSS
$custom: #1a337a;
$custom-light: #666aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#1a337a",
  "rgb": {
    "r": 26,
    "g": 51,
    "b": 122
  },
  "hsl": {
    "h": 224.375,
    "s": 64.865,
    "l": 29.02
  },
  "oklch": {
    "l": 0.34834,
    "c": 0.12507,
    "h": 265.5
  },
  "luminance": 0.03992
}

Semantic roles & 50–950 ramp

primary
#1A337A
secondary
#AE9241
accent
#BC40E8
background
#F6F6FA
surface
#EBEBF3
border
#C6C6CD
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1A337A

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

Preview Lab → · Contrast checker → · Palette generator →

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