#1A145D#1A145D

#1A145D is a dark, vivid blue. Relative luminance 0.015; OKLCH L 25.9% C 0.123 H 277.1°. Best body text is #FFFFFF at 16.13:1 contrast (WCAG AA passes).

Color values

HEX#1A145D
RGBrgb(26, 20, 93)
HSLhsl(245, 65%, 22%)
HSVhsv(245, 78%, 36%)
CMYKcmyk(72%, 78.5%, 0%, 63.5%)
CIE-LABlab(12.67, 28.05, -42.30)
CIE-LCHlch(12.67, 50.76, 303.56°)
OKLaboklab(25.93% 0.0152 -0.1222)
OKLCHoklch(25.93% 0.123 277.1)
XYZxyz(2.6513, 1.5100, 10.5055)
Luminance0.0151 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A145D #575D14
analogous
#14325D #1A145D #3F145D
triadic
#1A145D #5D1A14 #145D1A
tetradic
#1A145D #5D1432 #575D14 #145D3F
square
#1A145D #5D1432 #575D14 #145D3F
split-complementary
#1A145D #5D3F14 #325D14
monochromatic
#070519 #0C092B #1A145D #281F8F #362AC2

Accessibility & contrast

On white

16.13
#1A145D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A145D
16.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A145D#FFFFFF#000000##FFFFFF
##1A145D1.0016.131.3016.13
#FFFFFF16.131.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00245F
Deuteranopia (green-blind)
#001E5C
Tritanopia (blue-blind)
#002937
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #1a145d;
/* rgb */ color: rgb(26, 20, 93);
/* oklch */ color: oklch(25.9% 0.123 277.1);
Tailwind
colors: {
  custom: {
    50: '#62538c',
    500: '#1a145d',
    950: '#000000',
  },
}
SCSS
$custom: #1a145d;
$custom-light: #62538c;
$custom-dark: #000000;
JSON
{
  "hex": "#1a145d",
  "rgb": {
    "r": 26,
    "g": 20,
    "b": 93
  },
  "hsl": {
    "h": 244.932,
    "s": 64.602,
    "l": 22.157
  },
  "oklch": {
    "l": 0.25927,
    "c": 0.12314,
    "h": 277.1
  },
  "luminance": 0.0151
}

Semantic roles & 50–950 ramp

primary
#1A145D
secondary
#8D9538
accent
#E840DA
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1A145D

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

Preview Lab → · Contrast checker → · Palette generator →

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