#1A2485#1A2485

#1A2485 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.0% C 0.159 H 269.8°. Best body text is #FFFFFF at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#1A2485
RGBrgb(26, 36, 133)
HSLhsl(234, 67%, 31%)
HSVhsv(234, 80%, 52%)
CMYKcmyk(80.5%, 72.9%, 0%, 47.8%)
CIE-LABlab(20.73, 32.58, -54.95)
CIE-LCHlch(20.73, 63.88, 300.66°)
OKLaboklab(33% -0.0006 -0.1591)
OKLCHoklch(33% 0.159 269.8)
XYZxyz(5.2891, 3.1742, 22.5197)
Luminance0.0318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2485 #857B1A
analogous
#1A5985 #1A2485 #451A85
triadic
#1A2485 #851A24 #24851A
tetradic
#1A2485 #851A59 #857B1A #1A8545
square
#1A2485 #851A59 #857B1A #1A8545
split-complementary
#1A2485 #85451A #59851A
monochromatic
#06081F #101652 #1A2485 #2432B8 #404EDA

Accessibility & contrast

On white

12.84
#1A2485 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#1A2485 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2485
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2485#FFFFFF#000000##FFFFFF
##1A24851.0012.841.6412.84
#FFFFFF12.841.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003788
Deuteranopia (green-blind)
#002D83
Tritanopia (blue-blind)
#003F52
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1a2485;
/* rgb */ color: rgb(26, 36, 133);
/* oklch */ color: oklch(33.0% 0.159 269.8);
Tailwind
colors: {
  custom: {
    50: '#6b5faa',
    500: '#1a2485',
    950: '#000000',
  },
}
SCSS
$custom: #1a2485;
$custom-light: #6b5faa;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2485",
  "rgb": {
    "r": 26,
    "g": 36,
    "b": 133
  },
  "hsl": {
    "h": 234.393,
    "s": 67.296,
    "l": 31.176
  },
  "oklch": {
    "l": 0.33002,
    "c": 0.15914,
    "h": 269.8
  },
  "luminance": 0.03175
}

Semantic roles & 50–950 ramp

primary
#1A2485
secondary
#B8AD42
accent
#DA3EEA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1A2485

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

Preview Lab → · Contrast checker → · Palette generator →

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