#1A145E#1A145E

#1A145E is a dark, vivid blue. Relative luminance 0.015; OKLCH L 26.0% C 0.125 H 276.9°. Best body text is #FFFFFF at 16.08:1 contrast (WCAG AA passes).

Color values

HEX#1A145E
RGBrgb(26, 20, 94)
HSLhsl(245, 65%, 22%)
HSVhsv(245, 79%, 37%)
CMYKcmyk(72.3%, 78.7%, 0%, 63.1%)
CIE-LABlab(12.78, 28.42, -42.78)
CIE-LCHlch(12.78, 51.36, 303.59°)
OKLaboklab(26.04% 0.015 -0.1236)
OKLCHoklch(26.04% 0.125 276.9)
XYZxyz(2.6959, 1.5278, 10.7403)
Luminance0.0153 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A145E #585E14
analogous
#14335E #1A145E #3F145E
triadic
#1A145E #5E1A14 #145E1A
tetradic
#1A145E #5E1433 #585E14 #145E3F
square
#1A145E #5E1433 #585E14 #145E3F
split-complementary
#1A145E #5E3F14 #335E14
monochromatic
#070519 #0C092C #1A145E #281F90 #3629C3

Accessibility & contrast

On white

16.08
#1A145E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#1A145E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A145E
16.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A145E#FFFFFF#000000##FFFFFF
##1A145E1.0016.081.3116.08
#FFFFFF16.081.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002460
Deuteranopia (green-blind)
#001E5D
Tritanopia (blue-blind)
#002938
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #1a145e;
/* rgb */ color: rgb(26, 20, 94);
/* oklch */ color: oklch(26.0% 0.125 276.9);
Tailwind
colors: {
  custom: {
    50: '#62538d',
    500: '#1a145e',
    950: '#000000',
  },
}
SCSS
$custom: #1a145e;
$custom-light: #62538d;
$custom-dark: #000000;
JSON
{
  "hex": "#1a145e",
  "rgb": {
    "r": 26,
    "g": 20,
    "b": 94
  },
  "hsl": {
    "h": 244.865,
    "s": 64.912,
    "l": 22.353
  },
  "oklch": {
    "l": 0.2604,
    "c": 0.12452,
    "h": 276.9
  },
  "luminance": 0.01528
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1A145E

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

Preview Lab → · Contrast checker → · Palette generator →

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