#1A2985#1A2985

#1A2985 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.9% C 0.153 H 268.8°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#1A2985
RGBrgb(26, 41, 133)
HSLhsl(232, 67%, 31%)
HSVhsv(232, 80%, 52%)
CMYKcmyk(80.5%, 69.2%, 0%, 47.8%)
CIE-LABlab(21.94, 29.29, -52.96)
CIE-LCHlch(21.94, 60.52, 298.95°)
OKLaboklab(33.88% -0.0031 -0.1533)
OKLCHoklch(33.88% 0.153 268.8)
XYZxyz(5.4511, 3.4983, 22.5737)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2985 #85761A
analogous
#1A5E85 #1A2985 #401A85
triadic
#1A2985 #851A29 #29851A
tetradic
#1A2985 #851A5E #85761A #1A8540
square
#1A2985 #851A5E #85761A #1A8540
split-complementary
#1A2985 #85401A #5E851A
monochromatic
#06091F #101952 #1A2985 #2439B8 #4055DA

Accessibility & contrast

On white

12.35
#1A2985 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#1A2985 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2985
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2985#FFFFFF#000000##FFFFFF
##1A29851.0012.351.7012.35
#FFFFFF12.351.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A88
Deuteranopia (green-blind)
#002F83
Tritanopia (blue-blind)
#004253
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1a2985;
/* rgb */ color: rgb(26, 41, 133);
/* oklch */ color: oklch(33.9% 0.153 268.8);
Tailwind
colors: {
  custom: {
    50: '#6a63a9',
    500: '#1a2985',
    950: '#000000',
  },
}
SCSS
$custom: #1a2985;
$custom-light: #6a63a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2985",
  "rgb": {
    "r": 26,
    "g": 41,
    "b": 133
  },
  "hsl": {
    "h": 231.589,
    "s": 67.296,
    "l": 31.176
  },
  "oklch": {
    "l": 0.33878,
    "c": 0.15335,
    "h": 268.8
  },
  "luminance": 0.03499
}

Semantic roles & 50–950 ramp

primary
#1A2985
secondary
#B8A842
accent
#D23EEA
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#080510
muted
#7A797F

Preview Lab

Preview with #1A2985

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

Preview Lab → · Contrast checker → · Palette generator →

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