#1A337D#1A337D

#1A337D is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.1% C 0.129 H 265.8°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#1A337D
RGBrgb(26, 51, 125)
HSLhsl(225, 66%, 30%)
HSVhsv(225, 79%, 49%)
CMYKcmyk(79.2%, 59.2%, 0%, 51%)
CIE-LABlab(23.89, 19.19, -44.73)
CIE-LCHlch(23.89, 48.67, 293.23°)
OKLaboklab(35.1% -0.0096 -0.1291)
OKLCHoklch(35.1% 0.129 265.8)
XYZxyz(5.3102, 4.0673, 19.9033)
Luminance0.0407 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A337D #7D641A
analogous
#1A657D #1A337D #321A7D
triadic
#1A337D #7D1A33 #337D1A
tetradic
#1A337D #7D1A65 #7D641A #1A7D32
square
#1A337D #7D1A65 #7D641A #1A7D32
split-complementary
#1A337D #7D321A #657D1A
monochromatic
#050A19 #0F1E4A #1A337D #2548B0 #3B62D6

Accessibility & contrast

On white

11.58
#1A337D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#1A337D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A337D
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A337D#FFFFFF#000000##FFFFFF
##1A337D1.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E80
Deuteranopia (green-blind)
#00347C
Tritanopia (blue-blind)
#004552
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1a337d;
/* rgb */ color: rgb(26, 51, 125);
/* oklch */ color: oklch(35.1% 0.129 265.8);
Tailwind
colors: {
  custom: {
    50: '#676aa3',
    500: '#1a337d',
    950: '#000000',
  },
}
SCSS
$custom: #1a337d;
$custom-light: #676aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#1a337d",
  "rgb": {
    "r": 26,
    "g": 51,
    "b": 125
  },
  "hsl": {
    "h": 224.848,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.35098,
    "c": 0.12943,
    "h": 265.8
  },
  "luminance": 0.04068
}

Semantic roles & 50–950 ramp

primary
#1A337D
secondary
#B19542
accent
#BE3FE9
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1A337D

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

Preview Lab → · Contrast checker → · Palette generator →

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