#1A337E#1A337E

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

Color values

HEX#1A337E
RGBrgb(26, 51, 126)
HSLhsl(225, 66%, 30%)
HSVhsv(225, 79%, 49%)
CMYKcmyk(79.4%, 59.5%, 0%, 50.6%)
CIE-LABlab(23.98, 19.60, -45.22)
CIE-LCHlch(23.98, 49.28, 293.43°)
OKLaboklab(35.19% -0.0095 -0.1305)
OKLCHoklch(35.19% 0.131 265.8)
XYZxyz(5.3744, 4.0930, 20.2414)
Luminance0.0409 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A337E #7E651A
analogous
#1A657E #1A337E #331A7E
triadic
#1A337E #7E1A33 #337E1A
tetradic
#1A337E #7E1A65 #7E651A #1A7E33
square
#1A337E #7E1A65 #7E651A #1A7E33
split-complementary
#1A337E #7E331A #657E1A
monochromatic
#050A19 #101E4B #1A337E #2448B1 #3C62D7

Accessibility & contrast

On white

11.55
#1A337E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A337E
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A337E#FFFFFF#000000##FFFFFF
##1A337E1.0011.551.8211.55
#FFFFFF11.551.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a337e;
/* rgb */ color: rgb(26, 51, 126);
/* oklch */ color: oklch(35.2% 0.131 265.8);
Tailwind
colors: {
  custom: {
    50: '#676aa4',
    500: '#1a337e',
    950: '#000000',
  },
}
SCSS
$custom: #1a337e;
$custom-light: #676aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#1a337e",
  "rgb": {
    "r": 26,
    "g": 51,
    "b": 126
  },
  "hsl": {
    "h": 225,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.35188,
    "c": 0.13089,
    "h": 265.8
  },
  "luminance": 0.04094
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1A337E

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

Preview Lab → · Contrast checker → · Palette generator →

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