#1A2A85#1A2A85

#1A2A85 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.1% C 0.152 H 268.6°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#1A2A85
RGBrgb(26, 42, 133)
HSLhsl(231, 67%, 31%)
HSVhsv(231, 80%, 52%)
CMYKcmyk(80.5%, 68.4%, 0%, 47.8%)
CIE-LABlab(22.19, 28.62, -52.55)
CIE-LCHlch(22.19, 59.83, 298.58°)
OKLaboklab(34.06% -0.0037 -0.1521)
OKLCHoklch(34.06% 0.152 268.6)
XYZxyz(5.4861, 3.5684, 22.5854)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2A85 #85751A
analogous
#1A5F85 #1A2A85 #3F1A85
triadic
#1A2A85 #851A2A #2A851A
tetradic
#1A2A85 #851A5F #85751A #1A853F
square
#1A2A85 #851A5F #85751A #1A853F
split-complementary
#1A2A85 #853F1A #5F851A
monochromatic
#060A1F #101A52 #1A2A85 #243AB8 #4057DA

Accessibility & contrast

On white

12.25
#1A2A85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#1A2A85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2A85
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2A85#FFFFFF#000000##FFFFFF
##1A2A851.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A88
Deuteranopia (green-blind)
#003083
Tritanopia (blue-blind)
#004353
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1a2a85;
/* rgb */ color: rgb(26, 42, 133);
/* oklch */ color: oklch(34.1% 0.152 268.6);
Tailwind
colors: {
  custom: {
    50: '#6a63a9',
    500: '#1a2a85',
    950: '#000000',
  },
}
SCSS
$custom: #1a2a85;
$custom-light: #6a63a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2a85",
  "rgb": {
    "r": 26,
    "g": 42,
    "b": 133
  },
  "hsl": {
    "h": 231.028,
    "s": 67.296,
    "l": 31.176
  },
  "oklch": {
    "l": 0.34061,
    "c": 0.15215,
    "h": 268.6
  },
  "luminance": 0.03569
}

Semantic roles & 50–950 ramp

primary
#1A2A85
secondary
#B8A742
accent
#D03EEA
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#080510
muted
#7A797F

Preview Lab

Preview with #1A2A85

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

Preview Lab → · Contrast checker → · Palette generator →

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