#1A145B#1A145B

#1A145B is a dark, vivid blue. Relative luminance 0.015; OKLCH L 25.7% C 0.120 H 277.5°. Best body text is #FFFFFF at 16.22:1 contrast (WCAG AA passes).

Color values

HEX#1A145B
RGBrgb(26, 20, 91)
HSLhsl(245, 64%, 22%)
HSVhsv(245, 78%, 36%)
CMYKcmyk(71.4%, 78%, 0%, 64.3%)
CIE-LABlab(12.45, 27.33, -41.32)
CIE-LCHlch(12.45, 49.54, 303.48°)
OKLaboklab(25.7% 0.0157 -0.1193)
OKLCHoklch(25.7% 0.12 277.5)
XYZxyz(2.5639, 1.4750, 10.0451)
Luminance0.0147 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A145B #555B14
analogous
#14325B #1A145B #3E145B
triadic
#1A145B #5B1A14 #145B1A
tetradic
#1A145B #5B1432 #555B14 #145B3E
square
#1A145B #5B1432 #555B14 #145B3E
split-complementary
#1A145B #5B3E14 #325B14
monochromatic
#070619 #0C0929 #1A145B #281F8D #372ABF

Accessibility & contrast

On white

16.22
#1A145B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A145B
16.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A145B#FFFFFF#000000##FFFFFF
##1A145B1.0016.221.3016.22
#FFFFFF16.221.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00235D
Deuteranopia (green-blind)
#001D5A
Tritanopia (blue-blind)
#002836
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #1a145b;
/* rgb */ color: rgb(26, 20, 91);
/* oklch */ color: oklch(25.7% 0.120 277.5);
Tailwind
colors: {
  custom: {
    50: '#61528a',
    500: '#1a145b',
    950: '#000000',
  },
}
SCSS
$custom: #1a145b;
$custom-light: #61528a;
$custom-dark: #000000;
JSON
{
  "hex": "#1a145b",
  "rgb": {
    "r": 26,
    "g": 20,
    "b": 91
  },
  "hsl": {
    "h": 245.07,
    "s": 63.964,
    "l": 21.765
  },
  "oklch": {
    "l": 0.25701,
    "c": 0.12037,
    "h": 277.5
  },
  "luminance": 0.01475
}

Semantic roles & 50–950 ramp

primary
#1A145B
secondary
#8B9338
accent
#E741D9
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1A145B

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

Preview Lab → · Contrast checker → · Palette generator →

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