#1A337F#1A337F

#1A337F is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.3% C 0.132 H 265.9°. Best body text is #FFFFFF at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#1A337F
RGBrgb(26, 51, 127)
HSLhsl(225, 66%, 30%)
HSVhsv(225, 80%, 50%)
CMYKcmyk(79.5%, 59.8%, 0%, 50.2%)
CIE-LABlab(24.06, 20.00, -45.71)
CIE-LCHlch(24.06, 49.90, 293.63°)
OKLaboklab(35.28% -0.0095 -0.132)
OKLCHoklch(35.28% 0.132 265.9)
XYZxyz(5.4392, 4.1190, 20.5829)
Luminance0.0412 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A337F #7F661A
analogous
#1A657F #1A337F #341A7F
triadic
#1A337F #7F1A33 #337F1A
tetradic
#1A337F #7F1A65 #7F661A #1A7F34
square
#1A337F #7F1A65 #7F661A #1A7F34
split-complementary
#1A337F #7F341A #657F1A
monochromatic
#050A19 #101F4C #1A337F #2447B2 #3C63D7

Accessibility & contrast

On white

11.51
#1A337F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#1A337F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A337F
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A337F#FFFFFF#000000##FFFFFF
##1A337F1.0011.511.8211.51
#FFFFFF11.511.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E82
Deuteranopia (green-blind)
#00357E
Tritanopia (blue-blind)
#004653
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1a337f;
/* rgb */ color: rgb(26, 51, 127);
/* oklch */ color: oklch(35.3% 0.132 265.9);
Tailwind
colors: {
  custom: {
    50: '#686aa5',
    500: '#1a337f',
    950: '#000000',
  },
}
SCSS
$custom: #1a337f;
$custom-light: #686aa5;
$custom-dark: #000000;
JSON
{
  "hex": "#1a337f",
  "rgb": {
    "r": 26,
    "g": 51,
    "b": 127
  },
  "hsl": {
    "h": 225.149,
    "s": 66.013,
    "l": 30
  },
  "oklch": {
    "l": 0.35277,
    "c": 0.13232,
    "h": 265.9
  },
  "luminance": 0.0412
}

Semantic roles & 50–950 ramp

primary
#1A337F
secondary
#B39742
accent
#BF3FE9
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1A337F

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

Preview Lab → · Contrast checker → · Palette generator →

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