#1A4287#1A4287

#1A4287 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.3% C 0.124 H 260.5°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#1A4287
RGBrgb(26, 66, 135)
HSLhsl(218, 68%, 32%)
HSVhsv(218, 81%, 53%)
CMYKcmyk(80.7%, 51.1%, 0%, 47.1%)
CIE-LABlab(29.07, 12.76, -42.59)
CIE-LCHlch(29.07, 44.46, 286.67°)
OKLaboklab(39.27% -0.0204 -0.1225)
OKLCHoklch(39.27% 0.124 260.5)
XYZxyz(6.7458, 5.8645, 23.6934)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4287 #875F1A
analogous
#1A7987 #1A4287 #291A87
triadic
#1A4287 #871A42 #42871A
tetradic
#1A4287 #871A79 #875F1A #1A8729
square
#1A4287 #871A79 #875F1A #1A8729
split-complementary
#1A4287 #87291A #79871A
monochromatic
#061020 #102954 #1A4287 #245BBA #4179DA

Accessibility & contrast

On white

9.66
#1A4287 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#1A4287 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4287
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4287#FFFFFF#000000##FFFFFF
##1A42871.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184A8A
Deuteranopia (green-blind)
#004086
Tritanopia (blue-blind)
#00535E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1a4287;
/* rgb */ color: rgb(26, 66, 135);
/* oklch */ color: oklch(39.3% 0.124 260.5);
Tailwind
colors: {
  custom: {
    50: '#6975aa',
    500: '#1a4287',
    950: '#000000',
  },
}
SCSS
$custom: #1a4287;
$custom-light: #6975aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4287",
  "rgb": {
    "r": 26,
    "g": 66,
    "b": 135
  },
  "hsl": {
    "h": 217.982,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.3927,
    "c": 0.12421,
    "h": 260.5
  },
  "luminance": 0.05865
}

Semantic roles & 50–950 ramp

primary
#1A4287
secondary
#BA8E42
accent
#AB3DEB
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #1A4287

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

Preview Lab → · Contrast checker → · Palette generator →

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