#1A2685#1A2685

#1A2685 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.3% C 0.157 H 269.4°. Best body text is #FFFFFF at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#1A2685
RGBrgb(26, 38, 133)
HSLhsl(233, 67%, 31%)
HSVhsv(233, 80%, 52%)
CMYKcmyk(80.5%, 71.4%, 0%, 47.8%)
CIE-LABlab(21.20, 31.28, -54.17)
CIE-LCHlch(21.20, 62.55, 300.00°)
OKLaboklab(33.34% -0.0016 -0.1569)
OKLCHoklch(33.34% 0.157 269.4)
XYZxyz(5.3513, 3.2987, 22.5404)
Luminance0.0330 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2685 #85791A
analogous
#1A5B85 #1A2685 #431A85
triadic
#1A2685 #851A26 #26851A
tetradic
#1A2685 #851A5B #85791A #1A8543
square
#1A2685 #851A5B #85791A #1A8543
split-complementary
#1A2685 #85431A #5B851A
monochromatic
#06091F #101752 #1A2685 #2435B8 #4051DA

Accessibility & contrast

On white

12.65
#1A2685 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#1A2685 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2685
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2685#FFFFFF#000000##FFFFFF
##1A26851.0012.651.6612.65
#FFFFFF12.651.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003888
Deuteranopia (green-blind)
#002E83
Tritanopia (blue-blind)
#004052
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1a2685;
/* rgb */ color: rgb(26, 38, 133);
/* oklch */ color: oklch(33.3% 0.157 269.4);
Tailwind
colors: {
  custom: {
    50: '#6b60aa',
    500: '#1a2685',
    950: '#000000',
  },
}
SCSS
$custom: #1a2685;
$custom-light: #6b60aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2685",
  "rgb": {
    "r": 26,
    "g": 38,
    "b": 133
  },
  "hsl": {
    "h": 233.271,
    "s": 67.296,
    "l": 31.176
  },
  "oklch": {
    "l": 0.33344,
    "c": 0.15688,
    "h": 269.4
  },
  "luminance": 0.03299
}

Semantic roles & 50–950 ramp

primary
#1A2685
secondary
#B8AB42
accent
#D73EEA
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#080510
muted
#7A797F

Preview Lab

Preview with #1A2685

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

Preview Lab → · Contrast checker → · Palette generator →

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