#1A316C#1A316C

#1A316C is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.2% C 0.107 H 265.0°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#1A316C
RGBrgb(26, 49, 108)
HSLhsl(223, 61%, 26%)
HSVhsv(223, 76%, 42%)
CMYKcmyk(75.9%, 54.6%, 0%, 57.6%)
CIE-LABlab(21.94, 13.66, -37.04)
CIE-LCHlch(21.94, 39.48, 290.24°)
OKLaboklab(33.19% -0.0093 -0.1065)
OKLCHoklch(33.19% 0.107 265)
XYZxyz(4.2301, 3.4985, 14.6368)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A316C #6C551A
analogous
#1A5A6C #1A316C #2C1A6C
triadic
#1A316C #6C1A31 #316C1A
tetradic
#1A316C #6C1A5A #6C551A #1A6C2C
square
#1A316C #6C1A5A #6C551A #1A6C2C
split-complementary
#1A316C #6C2C1A #5A6C1A
monochromatic
#060B19 #0E1B3B #1A316C #26479D #335ECE

Accessibility & contrast

On white

12.35
#1A316C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#1A316C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A316C
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A316C#FFFFFF#000000##FFFFFF
##1A316C1.0012.351.7012.35
#FFFFFF12.351.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A386E
Deuteranopia (green-blind)
#00316B
Tritanopia (blue-blind)
#003F49
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1a316c;
/* rgb */ color: rgb(26, 49, 108);
/* oklch */ color: oklch(33.2% 0.107 265.0);
Tailwind
colors: {
  custom: {
    50: '#636897',
    500: '#1a316c',
    950: '#000000',
  },
}
SCSS
$custom: #1a316c;
$custom-light: #636897;
$custom-dark: #000000;
JSON
{
  "hex": "#1a316c",
  "rgb": {
    "r": 26,
    "g": 49,
    "b": 108
  },
  "hsl": {
    "h": 223.171,
    "s": 61.194,
    "l": 26.275
  },
  "oklch": {
    "l": 0.33192,
    "c": 0.10692,
    "h": 265
  },
  "luminance": 0.03499
}

Semantic roles & 50–950 ramp

primary
#1A316C
secondary
#A18641
accent
#B743E4
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #1A316C

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

Preview Lab → · Contrast checker → · Palette generator →

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