#1A145C#1A145C

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

Color values

HEX#1A145C
RGBrgb(26, 20, 92)
HSLhsl(245, 64%, 22%)
HSVhsv(245, 78%, 36%)
CMYKcmyk(71.7%, 78.3%, 0%, 63.9%)
CIE-LABlab(12.56, 27.69, -41.81)
CIE-LCHlch(12.56, 50.15, 303.52°)
OKLaboklab(25.81% 0.0155 -0.1208)
OKLCHoklch(25.81% 0.122 277.3)
XYZxyz(2.6073, 1.4924, 10.2738)
Luminance0.0149 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A145C #565C14
analogous
#14325C #1A145C #3E145C
triadic
#1A145C #5C1A14 #145C1A
tetradic
#1A145C #5C1432 #565C14 #145C3E
square
#1A145C #5C1432 #565C14 #145C3E
split-complementary
#1A145C #5C3E14 #325C14
monochromatic
#070519 #0C092A #1A145C #281F8E #362AC1

Accessibility & contrast

On white

16.17
#1A145C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A145C
16.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A145C#FFFFFF#000000##FFFFFF
##1A145C1.0016.171.3016.17
#FFFFFF16.171.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00245E
Deuteranopia (green-blind)
#001E5B
Tritanopia (blue-blind)
#002836
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #1a145c;
/* rgb */ color: rgb(26, 20, 92);
/* oklch */ color: oklch(25.8% 0.122 277.3);
Tailwind
colors: {
  custom: {
    50: '#61528b',
    500: '#1a145c',
    950: '#000000',
  },
}
SCSS
$custom: #1a145c;
$custom-light: #61528b;
$custom-dark: #000000;
JSON
{
  "hex": "#1a145c",
  "rgb": {
    "r": 26,
    "g": 20,
    "b": 92
  },
  "hsl": {
    "h": 245,
    "s": 64.286,
    "l": 21.961
  },
  "oklch": {
    "l": 0.25814,
    "c": 0.12176,
    "h": 277.3
  },
  "luminance": 0.01493
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1A145C

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

Preview Lab → · Contrast checker → · Palette generator →

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