#1A2E85#1A2E85

#1A2E85 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.8% C 0.147 H 267.6°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#1A2E85
RGBrgb(26, 46, 133)
HSLhsl(229, 67%, 31%)
HSVhsv(229, 80%, 52%)
CMYKcmyk(80.5%, 65.4%, 0%, 47.8%)
CIE-LABlab(23.22, 25.89, -50.85)
CIE-LCHlch(23.22, 57.06, 296.99°)
OKLaboklab(34.82% -0.006 -0.1471)
OKLCHoklch(34.82% 0.147 267.6)
XYZxyz(5.6352, 3.8664, 22.6351)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2E85 #85711A
analogous
#1A6385 #1A2E85 #3B1A85
triadic
#1A2E85 #851A2E #2E851A
tetradic
#1A2E85 #851A63 #85711A #1A853B
square
#1A2E85 #851A63 #85711A #1A853B
split-complementary
#1A2E85 #853B1A #63851A
monochromatic
#060B1F #101C52 #1A2E85 #2440B8 #405DDA

Accessibility & contrast

On white

11.84
#1A2E85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#1A2E85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2E85
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2E85#FFFFFF#000000##FFFFFF
##1A2E851.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a2e85;
/* rgb */ color: rgb(26, 46, 133);
/* oklch */ color: oklch(34.8% 0.147 267.6);
Tailwind
colors: {
  custom: {
    50: '#6a66a9',
    500: '#1a2e85',
    950: '#000000',
  },
}
SCSS
$custom: #1a2e85;
$custom-light: #6a66a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2e85",
  "rgb": {
    "r": 26,
    "g": 46,
    "b": 133
  },
  "hsl": {
    "h": 228.785,
    "s": 67.296,
    "l": 31.176
  },
  "oklch": {
    "l": 0.34821,
    "c": 0.14723,
    "h": 267.6
  },
  "luminance": 0.03867
}

Semantic roles & 50–950 ramp

primary
#1A2E85
secondary
#B8A242
accent
#CA3EEA
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080610
muted
#7A7A7F

Preview Lab

Preview with #1A2E85

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

Preview Lab → · Contrast checker → · Palette generator →

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