#1A148C#1A148C

#1A148C is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.6% C 0.183 H 271.1°. Best body text is #FFFFFF at 13.79:1 contrast (WCAG AA passes).

Color values

HEX#1A148C
RGBrgb(26, 20, 140)
HSLhsl(243, 75%, 31%)
HSVhsv(243, 86%, 55%)
CMYKcmyk(81.4%, 85.7%, 0%, 45.1%)
CIE-LABlab(18.42, 43.95, -63.16)
CIE-LCHlch(18.42, 76.95, 304.83°)
OKLaboklab(31.62% 0.0034 -0.1828)
OKLCHoklch(31.62% 0.183 271.1)
XYZxyz(5.4082, 2.6128, 25.0251)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A148C #868C14
analogous
#144A8C #1A148C #56148C
triadic
#1A148C #8C1A14 #148C1A
tetradic
#1A148C #8C144A #868C14 #148C56
square
#1A148C #8C144A #868C14 #148C56
split-complementary
#1A148C #8C5614 #4A8C14
monochromatic
#060521 #100C56 #1A148C #241CC2 #4038E3

Accessibility & contrast

On white

13.79
#1A148C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#1A148C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A148C
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A148C#FFFFFF#000000##FFFFFF
##1A148C1.0013.791.5213.79
#FFFFFF13.791.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00338F
Deuteranopia (green-blind)
#00278A
Tritanopia (blue-blind)
#003B52
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1a148c;
/* rgb */ color: rgb(26, 20, 140);
/* oklch */ color: oklch(31.6% 0.183 271.1);
Tailwind
colors: {
  custom: {
    50: '#6e56af',
    500: '#1a148c',
    950: '#000000',
  },
}
SCSS
$custom: #1a148c;
$custom-light: #6e56af;
$custom-dark: #000000;
JSON
{
  "hex": "#1a148c",
  "rgb": {
    "r": 26,
    "g": 20,
    "b": 140
  },
  "hsl": {
    "h": 243,
    "s": 75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.31616,
    "c": 0.18279,
    "h": 271.1
  },
  "luminance": 0.02613
}

Semantic roles & 50–950 ramp

primary
#1A148C
secondary
#B9C03C
accent
#F236E8
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090311
muted
#7B7880

Preview Lab

Preview with #1A148C

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

Preview Lab → · Contrast checker → · Palette generator →

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