#1A3087#1A3087

#1A3087 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.4% C 0.147 H 267.2°. Best body text is #FFFFFF at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#1A3087
RGBrgb(26, 48, 135)
HSLhsl(228, 68%, 32%)
HSVhsv(228, 81%, 53%)
CMYKcmyk(80.7%, 64.4%, 0%, 47.1%)
CIE-LABlab(23.94, 25.31, -50.93)
CIE-LCHlch(23.94, 56.87, 296.42°)
OKLaboklab(35.41% -0.0073 -0.1473)
OKLCHoklch(35.41% 0.148 267.2)
XYZxyz(5.8546, 4.0821, 23.3963)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3087 #87711A
analogous
#1A6787 #1A3087 #3B1A87
triadic
#1A3087 #871A30 #30871A
tetradic
#1A3087 #871A67 #87711A #1A873B
square
#1A3087 #871A67 #87711A #1A873B
split-complementary
#1A3087 #873B1A #67871A
monochromatic
#060C20 #101E54 #1A3087 #2442BA #4160DA

Accessibility & contrast

On white

11.56
#1A3087 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#1A3087 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3087
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3087#FFFFFF#000000##FFFFFF
##1A30871.0011.561.8211.56
#FFFFFF11.561.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8A
Deuteranopia (green-blind)
#003485
Tritanopia (blue-blind)
#004756
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1a3087;
/* rgb */ color: rgb(26, 48, 135);
/* oklch */ color: oklch(35.4% 0.147 267.2);
Tailwind
colors: {
  custom: {
    50: '#6a68ab',
    500: '#1a3087',
    950: '#000000',
  },
}
SCSS
$custom: #1a3087;
$custom-light: #6a68ab;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3087",
  "rgb": {
    "r": 26,
    "g": 48,
    "b": 135
  },
  "hsl": {
    "h": 227.89,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.35407,
    "c": 0.1475,
    "h": 267.2
  },
  "luminance": 0.04083
}

Semantic roles & 50–950 ramp

primary
#1A3087
secondary
#BAA242
accent
#C83DEB
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080610
muted
#7A7A7F

Preview Lab

Preview with #1A3087

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

Preview Lab → · Contrast checker → · Palette generator →

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