#1A327C#1A327C

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

Color values

HEX#1A327C
RGBrgb(26, 50, 124)
HSLhsl(225, 65%, 29%)
HSVhsv(225, 79%, 49%)
CMYKcmyk(79%, 59.7%, 0%, 51.4%)
CIE-LABlab(23.52, 19.49, -44.69)
CIE-LCHlch(23.52, 48.76, 293.56°)
OKLaboklab(34.8% -0.0089 -0.129)
OKLCHoklch(34.8% 0.129 266.1)
XYZxyz(5.2034, 3.9555, 19.5541)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A327C #7C641A
analogous
#1A637C #1A327C #331A7C
triadic
#1A327C #7C1A32 #327C1A
tetradic
#1A327C #7C1A63 #7C641A #1A7C33
square
#1A327C #7C1A63 #7C641A #1A7C33
split-complementary
#1A327C #7C331A #637C1A
monochromatic
#050A19 #0F1E49 #1A327C #2546AF #3B61D6

Accessibility & contrast

On white

11.72
#1A327C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#1A327C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A327C
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A327C#FFFFFF#000000##FFFFFF
##1A327C1.0011.721.7911.72
#FFFFFF11.721.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7F
Deuteranopia (green-blind)
#00347B
Tritanopia (blue-blind)
#004452
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1a327c;
/* rgb */ color: rgb(26, 50, 124);
/* oklch */ color: oklch(34.8% 0.129 266.1);
Tailwind
colors: {
  custom: {
    50: '#6769a3',
    500: '#1a327c',
    950: '#000000',
  },
}
SCSS
$custom: #1a327c;
$custom-light: #6769a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1a327c",
  "rgb": {
    "r": 26,
    "g": 50,
    "b": 124
  },
  "hsl": {
    "h": 225.306,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.34795,
    "c": 0.12931,
    "h": 266.1
  },
  "luminance": 0.03956
}

Semantic roles & 50–950 ramp

primary
#1A327C
secondary
#B09542
accent
#BF40E8
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1A327C

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

Preview Lab → · Contrast checker → · Palette generator →

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