#1A2385#1A2385

#1A2385 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.8% C 0.160 H 270.0°. Best body text is #FFFFFF at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#1A2385
RGBrgb(26, 35, 133)
HSLhsl(235, 67%, 31%)
HSVhsv(235, 80%, 52%)
CMYKcmyk(80.5%, 73.7%, 0%, 47.8%)
CIE-LABlab(20.50, 33.22, -55.33)
CIE-LCHlch(20.50, 64.54, 300.98°)
OKLaboklab(32.84% -0.0001 -0.1602)
OKLCHoklch(32.84% 0.16 270)
XYZxyz(5.2592, 3.1145, 22.5097)
Luminance0.0312 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2385 #857C1A
analogous
#1A5885 #1A2385 #461A85
triadic
#1A2385 #851A23 #23851A
tetradic
#1A2385 #851A58 #857C1A #1A8546
square
#1A2385 #851A58 #857C1A #1A8546
split-complementary
#1A2385 #85461A #58851A
monochromatic
#06081F #101652 #1A2385 #2430B8 #404DDA

Accessibility & contrast

On white

12.94
#1A2385 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#1A2385 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2385
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2385#FFFFFF#000000##FFFFFF
##1A23851.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003788
Deuteranopia (green-blind)
#002C83
Tritanopia (blue-blind)
#003F51
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1a2385;
/* rgb */ color: rgb(26, 35, 133);
/* oklch */ color: oklch(32.8% 0.160 270.0);
Tailwind
colors: {
  custom: {
    50: '#6b5eaa',
    500: '#1a2385',
    950: '#000000',
  },
}
SCSS
$custom: #1a2385;
$custom-light: #6b5eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2385",
  "rgb": {
    "r": 26,
    "g": 35,
    "b": 133
  },
  "hsl": {
    "h": 234.953,
    "s": 67.296,
    "l": 31.176
  },
  "oklch": {
    "l": 0.32835,
    "c": 0.16025,
    "h": 270
  },
  "luminance": 0.03115
}

Semantic roles & 50–950 ramp

primary
#1A2385
secondary
#B8AF42
accent
#DC3EEA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1A2385

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

Preview Lab → · Contrast checker → · Palette generator →

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