#1A2D85#1A2D85

#1A2D85 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.6% C 0.148 H 267.9°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#1A2D85
RGBrgb(26, 45, 133)
HSLhsl(229, 67%, 31%)
HSVhsv(229, 80%, 52%)
CMYKcmyk(80.5%, 66.2%, 0%, 47.8%)
CIE-LABlab(22.96, 26.58, -51.28)
CIE-LCHlch(22.96, 57.76, 297.40°)
OKLaboklab(34.63% -0.0054 -0.1484)
OKLCHoklch(34.63% 0.148 267.9)
XYZxyz(5.5966, 3.7892, 22.6222)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2D85 #85721A
analogous
#1A6285 #1A2D85 #3C1A85
triadic
#1A2D85 #851A2D #2D851A
tetradic
#1A2D85 #851A62 #85721A #1A853C
square
#1A2D85 #851A62 #85721A #1A853C
split-complementary
#1A2D85 #853C1A #62851A
monochromatic
#060A1F #101C52 #1A2D85 #243EB8 #405BDA

Accessibility & contrast

On white

11.95
#1A2D85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#1A2D85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2D85
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2D85#FFFFFF#000000##FFFFFF
##1A2D851.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C88
Deuteranopia (green-blind)
#003283
Tritanopia (blue-blind)
#004454
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1a2d85;
/* rgb */ color: rgb(26, 45, 133);
/* oklch */ color: oklch(34.6% 0.148 267.9);
Tailwind
colors: {
  custom: {
    50: '#6a65a9',
    500: '#1a2d85',
    950: '#000000',
  },
}
SCSS
$custom: #1a2d85;
$custom-light: #6a65a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2d85",
  "rgb": {
    "r": 26,
    "g": 45,
    "b": 133
  },
  "hsl": {
    "h": 229.346,
    "s": 67.296,
    "l": 31.176
  },
  "oklch": {
    "l": 0.34627,
    "c": 0.14848,
    "h": 267.9
  },
  "luminance": 0.0379
}

Semantic roles & 50–950 ramp

primary
#1A2D85
secondary
#B8A342
accent
#CC3EEA
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080510
muted
#7A7A7F

Preview Lab

Preview with #1A2D85

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

Preview Lab → · Contrast checker → · Palette generator →

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