#1A3A87#1A3A87

#1A3A87 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.5% C 0.135 H 264.0°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#1A3A87
RGBrgb(26, 58, 135)
HSLhsl(222, 68%, 32%)
HSVhsv(222, 81%, 53%)
CMYKcmyk(80.7%, 57%, 0%, 47.1%)
CIE-LABlab(26.72, 18.33, -46.40)
CIE-LCHlch(26.72, 49.89, 291.56°)
OKLaboklab(37.48% -0.0142 -0.1339)
OKLCHoklch(37.48% 0.135 264)
XYZxyz(6.3107, 4.9943, 23.5484)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3A87 #87671A
analogous
#1A7187 #1A3A87 #301A87
triadic
#1A3A87 #871A3A #3A871A
tetradic
#1A3A87 #871A71 #87671A #1A8730
square
#1A3A87 #871A71 #87671A #1A8730
split-complementary
#1A3A87 #87301A #71871A
monochromatic
#060E20 #102454 #1A3A87 #2450BA #416EDA

Accessibility & contrast

On white

10.51
#1A3A87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#1A3A87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3A87
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3A87#FFFFFF#000000##FFFFFF
##1A3A871.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448A
Deuteranopia (green-blind)
#003A85
Tritanopia (blue-blind)
#004D5A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #1a3a87;
/* rgb */ color: rgb(26, 58, 135);
/* oklch */ color: oklch(37.5% 0.135 264.0);
Tailwind
colors: {
  custom: {
    50: '#696fab',
    500: '#1a3a87',
    950: '#000000',
  },
}
SCSS
$custom: #1a3a87;
$custom-light: #696fab;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3a87",
  "rgb": {
    "r": 26,
    "g": 58,
    "b": 135
  },
  "hsl": {
    "h": 222.385,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.37483,
    "c": 0.13462,
    "h": 264
  },
  "luminance": 0.04995
}

Semantic roles & 50–950 ramp

primary
#1A3A87
secondary
#BA9742
accent
#B83DEB
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #1A3A87

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

Preview Lab → · Contrast checker → · Palette generator →

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