#1A145F#1A145F

#1A145F is a dark, vivid blue. Relative luminance 0.015; OKLCH L 26.2% C 0.126 H 276.7°. Best body text is #FFFFFF at 16.04:1 contrast (WCAG AA passes).

Color values

HEX#1A145F
RGBrgb(26, 20, 95)
HSLhsl(245, 65%, 23%)
HSVhsv(245, 79%, 37%)
CMYKcmyk(72.6%, 78.9%, 0%, 62.7%)
CIE-LABlab(12.90, 28.77, -43.26)
CIE-LCHlch(12.90, 51.96, 303.63°)
OKLaboklab(26.15% 0.0148 -0.125)
OKLCHoklch(26.15% 0.126 276.7)
XYZxyz(2.7410, 1.5459, 10.9782)
Luminance0.0155 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A145F #595F14
analogous
#14335F #1A145F #3F145F
triadic
#1A145F #5F1A14 #145F1A
tetradic
#1A145F #5F1433 #595F14 #145F3F
square
#1A145F #5F1433 #595F14 #145F3F
split-complementary
#1A145F #5F3F14 #335F14
monochromatic
#070519 #0C092C #1A145F #281F92 #3629C4

Accessibility & contrast

On white

16.04
#1A145F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A145F
16.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A145F#FFFFFF#000000##FFFFFF
##1A145F1.0016.041.3116.04
#FFFFFF16.041.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a145f;
/* rgb */ color: rgb(26, 20, 95);
/* oklch */ color: oklch(26.2% 0.126 276.7);
Tailwind
colors: {
  custom: {
    50: '#62538d',
    500: '#1a145f',
    950: '#000000',
  },
}
SCSS
$custom: #1a145f;
$custom-light: #62538d;
$custom-dark: #000000;
JSON
{
  "hex": "#1a145f",
  "rgb": {
    "r": 26,
    "g": 20,
    "b": 95
  },
  "hsl": {
    "h": 244.8,
    "s": 65.217,
    "l": 22.549
  },
  "oklch": {
    "l": 0.26154,
    "c": 0.12588,
    "h": 276.7
  },
  "luminance": 0.01546
}

Semantic roles & 50–950 ramp

primary
#1A145F
secondary
#8F9738
accent
#E840DB
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1A145F

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

Preview Lab → · Contrast checker → · Palette generator →

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