#1A337C#1A337C

#1A337C is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.0% C 0.128 H 265.7°. Best body text is #FFFFFF at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#1A337C
RGBrgb(26, 51, 124)
HSLhsl(225, 65%, 29%)
HSVhsv(225, 79%, 49%)
CMYKcmyk(79%, 58.9%, 0%, 51.4%)
CIE-LABlab(23.81, 18.79, -44.23)
CIE-LCHlch(23.81, 48.05, 293.01°)
OKLaboklab(35.01% -0.0096 -0.1276)
OKLCHoklch(35.01% 0.128 265.7)
XYZxyz(5.2466, 4.0419, 19.5685)
Luminance0.0404 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A337C #7C631A
analogous
#1A647C #1A337C #321A7C
triadic
#1A337C #7C1A33 #337C1A
tetradic
#1A337C #7C1A64 #7C631A #1A7C32
square
#1A337C #7C1A64 #7C631A #1A7C32
split-complementary
#1A337C #7C321A #647C1A
monochromatic
#050A19 #0F1E49 #1A337C #2548AF #3B62D6

Accessibility & contrast

On white

11.61
#1A337C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A337C
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A337C#FFFFFF#000000##FFFFFF
##1A337C1.0011.611.8111.61
#FFFFFF11.611.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a337c;
/* rgb */ color: rgb(26, 51, 124);
/* oklch */ color: oklch(35.0% 0.128 265.7);
Tailwind
colors: {
  custom: {
    50: '#676aa3',
    500: '#1a337c',
    950: '#000000',
  },
}
SCSS
$custom: #1a337c;
$custom-light: #676aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#1a337c",
  "rgb": {
    "r": 26,
    "g": 51,
    "b": 124
  },
  "hsl": {
    "h": 224.694,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.3501,
    "c": 0.12798,
    "h": 265.7
  },
  "luminance": 0.04043
}

Semantic roles & 50–950 ramp

primary
#1A337C
secondary
#B09442
accent
#BD40E8
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1A337C

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

Preview Lab → · Contrast checker → · Palette generator →

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