#1A145A#1A145A

#1A145A is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.6% C 0.119 H 277.7°. Best body text is #FFFFFF at 16.26:1 contrast (WCAG AA passes).

Color values

HEX#1A145A
RGBrgb(26, 20, 90)
HSLhsl(245, 64%, 22%)
HSVhsv(245, 78%, 35%)
CMYKcmyk(71.1%, 77.8%, 0%, 64.7%)
CIE-LABlab(12.34, 26.97, -40.83)
CIE-LCHlch(12.34, 48.93, 303.44°)
OKLaboklab(25.59% 0.0159 -0.1179)
OKLCHoklch(25.59% 0.119 277.7)
XYZxyz(2.5210, 1.4579, 9.8194)
Luminance0.0146 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A145A #545A14
analogous
#14315A #1A145A #3D145A
triadic
#1A145A #5A1A14 #145A1A
tetradic
#1A145A #5A1431 #545A14 #145A3D
square
#1A145A #5A1431 #545A14 #145A3D
split-complementary
#1A145A #5A3D14 #315A14
monochromatic
#070619 #0C0928 #1A145A #281F8C #372ABE

Accessibility & contrast

On white

16.26
#1A145A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#1A145A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A145A
16.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A145A#FFFFFF#000000##FFFFFF
##1A145A1.0016.261.2916.26
#FFFFFF16.261.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00235C
Deuteranopia (green-blind)
#001D59
Tritanopia (blue-blind)
#002835
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #1a145a;
/* rgb */ color: rgb(26, 20, 90);
/* oklch */ color: oklch(25.6% 0.119 277.7);
Tailwind
colors: {
  custom: {
    50: '#615289',
    500: '#1a145a',
    950: '#000000',
  },
}
SCSS
$custom: #1a145a;
$custom-light: #615289;
$custom-dark: #000000;
JSON
{
  "hex": "#1a145a",
  "rgb": {
    "r": 26,
    "g": 20,
    "b": 90
  },
  "hsl": {
    "h": 245.143,
    "s": 63.636,
    "l": 21.569
  },
  "oklch": {
    "l": 0.25589,
    "c": 0.11898,
    "h": 277.7
  },
  "luminance": 0.01458
}

Semantic roles & 50–950 ramp

primary
#1A145A
secondary
#8A9238
accent
#E741D8
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#05020C
muted
#7A787D

Preview Lab

Preview with #1A145A

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

Preview Lab → · Contrast checker → · Palette generator →

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