#1A316E#1A316E

#1A316E is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.4% C 0.110 H 265.3°. Best body text is #FFFFFF at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#1A316E
RGBrgb(26, 49, 110)
HSLhsl(224, 62%, 27%)
HSVhsv(224, 76%, 43%)
CMYKcmyk(76.4%, 55.5%, 0%, 56.9%)
CIE-LABlab(22.09, 14.48, -38.08)
CIE-LCHlch(22.09, 40.74, 290.82°)
OKLaboklab(33.36% -0.0091 -0.1096)
OKLCHoklch(33.36% 0.11 265.3)
XYZxyz(4.3378, 3.5416, 15.2038)
Luminance0.0354 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A316E #6E571A
analogous
#1A5B6E #1A316E #2D1A6E
triadic
#1A316E #6E1A31 #316E1A
tetradic
#1A316E #6E1A5B #6E571A #1A6E2D
square
#1A316E #6E1A5B #6E571A #1A6E2D
split-complementary
#1A316E #6E2D1A #5B6E1A
monochromatic
#060B19 #0E1B3D #1A316E #2647A0 #345ECF

Accessibility & contrast

On white

12.29
#1A316E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#1A316E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A316E
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A316E#FFFFFF#000000##FFFFFF
##1A316E1.0012.291.7112.29
#FFFFFF12.291.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#063970
Deuteranopia (green-blind)
#00316D
Tritanopia (blue-blind)
#00404A
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1a316e;
/* rgb */ color: rgb(26, 49, 110);
/* oklch */ color: oklch(33.4% 0.110 265.3);
Tailwind
colors: {
  custom: {
    50: '#636898',
    500: '#1a316e',
    950: '#000000',
  },
}
SCSS
$custom: #1a316e;
$custom-light: #636898;
$custom-dark: #000000;
JSON
{
  "hex": "#1a316e",
  "rgb": {
    "r": 26,
    "g": 49,
    "b": 110
  },
  "hsl": {
    "h": 223.571,
    "s": 61.765,
    "l": 26.667
  },
  "oklch": {
    "l": 0.33359,
    "c": 0.10995,
    "h": 265.3
  },
  "luminance": 0.03542
}

Semantic roles & 50–950 ramp

primary
#1A316E
secondary
#A38841
accent
#B943E5
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #1A316E

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

Preview Lab → · Contrast checker → · Palette generator →

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