#1A2585#1A2585

#1A2585 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.2% C 0.158 H 269.6°. Best body text is #FFFFFF at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#1A2585
RGBrgb(26, 37, 133)
HSLhsl(234, 67%, 31%)
HSVhsv(234, 80%, 52%)
CMYKcmyk(80.5%, 72.2%, 0%, 47.8%)
CIE-LABlab(20.96, 31.93, -54.56)
CIE-LCHlch(20.96, 63.22, 300.34°)
OKLaboklab(33.17% -0.0011 -0.158)
OKLCHoklch(33.17% 0.158 269.6)
XYZxyz(5.3198, 3.2356, 22.5299)
Luminance0.0324 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2585 #857A1A
analogous
#1A5A85 #1A2585 #441A85
triadic
#1A2585 #851A25 #25851A
tetradic
#1A2585 #851A5A #857A1A #1A8544
square
#1A2585 #851A5A #857A1A #1A8544
split-complementary
#1A2585 #85441A #5A851A
monochromatic
#06091F #101752 #1A2585 #2433B8 #4050DA

Accessibility & contrast

On white

12.75
#1A2585 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#1A2585 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2585
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2585#FFFFFF#000000##FFFFFF
##1A25851.0012.751.6512.75
#FFFFFF12.751.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a2585;
/* rgb */ color: rgb(26, 37, 133);
/* oklch */ color: oklch(33.2% 0.158 269.6);
Tailwind
colors: {
  custom: {
    50: '#6b60aa',
    500: '#1a2585',
    950: '#000000',
  },
}
SCSS
$custom: #1a2585;
$custom-light: #6b60aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2585",
  "rgb": {
    "r": 26,
    "g": 37,
    "b": 133
  },
  "hsl": {
    "h": 233.832,
    "s": 67.296,
    "l": 31.176
  },
  "oklch": {
    "l": 0.33171,
    "c": 0.15801,
    "h": 269.6
  },
  "luminance": 0.03236
}

Semantic roles & 50–950 ramp

primary
#1A2585
secondary
#B8AC42
accent
#D83EEA
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#080510
muted
#7A797F

Preview Lab

Preview with #1A2585

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

Preview Lab → · Contrast checker → · Palette generator →

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