#1A135D#1A135D

#1A135D is a dark, vivid blue. Relative luminance 0.015; OKLCH L 25.8% C 0.124 H 277.4°. Best body text is #FFFFFF at 16.21:1 contrast (WCAG AA passes).

Color values

HEX#1A135D
RGBrgb(26, 19, 93)
HSLhsl(246, 66%, 22%)
HSVhsv(246, 80%, 36%)
CMYKcmyk(72%, 79.6%, 0%, 63.5%)
CIE-LABlab(12.45, 28.68, -42.66)
CIE-LCHlch(12.45, 51.40, 303.91°)
OKLaboklab(25.77% 0.0159 -0.1232)
OKLCHoklch(25.77% 0.124 277.4)
XYZxyz(2.6340, 1.4754, 10.4998)
Luminance0.0148 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A135D #565D13
analogous
#13315D #1A135D #3F135D
triadic
#1A135D #5D1A13 #135D1A
tetradic
#1A135D #5D1331 #565D13 #135D3F
square
#1A135D #5D1331 #565D13 #135D3F
split-complementary
#1A135D #5D3F13 #315D13
monochromatic
#070519 #0C092A #1A135D #281D90 #3628C3

Accessibility & contrast

On white

16.21
#1A135D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#1A135D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A135D
16.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A135D#FFFFFF#000000##FFFFFF
##1A135D1.0016.211.3016.21
#FFFFFF16.211.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00235F
Deuteranopia (green-blind)
#001D5C
Tritanopia (blue-blind)
#002837
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #1a135d;
/* rgb */ color: rgb(26, 19, 93);
/* oklch */ color: oklch(25.8% 0.124 277.4);
Tailwind
colors: {
  custom: {
    50: '#62528c',
    500: '#1a135d',
    950: '#000000',
  },
}
SCSS
$custom: #1a135d;
$custom-light: #62528c;
$custom-dark: #000000;
JSON
{
  "hex": "#1a135d",
  "rgb": {
    "r": 26,
    "g": 19,
    "b": 93
  },
  "hsl": {
    "h": 245.676,
    "s": 66.071,
    "l": 21.961
  },
  "oklch": {
    "l": 0.2577,
    "c": 0.12426,
    "h": 277.4
  },
  "luminance": 0.01476
}

Semantic roles & 50–950 ramp

primary
#1A135D
secondary
#8C9537
accent
#E93FD9
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1A135D

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

Preview Lab → · Contrast checker → · Palette generator →

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