#1A148D#1A148D

#1A148D is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.7% C 0.184 H 271.0°. Best body text is #FFFFFF at 13.74:1 contrast (WCAG AA passes).

Color values

HEX#1A148D
RGBrgb(26, 20, 141)
HSLhsl(243, 75%, 32%)
HSVhsv(243, 86%, 55%)
CMYKcmyk(81.6%, 85.8%, 0%, 44.7%)
CIE-LABlab(18.55, 44.26, -63.57)
CIE-LCHlch(18.55, 77.46, 304.85°)
OKLaboklab(31.74% 0.0032 -0.1839)
OKLCHoklch(31.74% 0.184 271)
XYZxyz(5.4823, 2.6424, 25.4152)
Luminance0.0264 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A148D #878D14
analogous
#144B8D #1A148D #57148D
triadic
#1A148D #8D1A14 #148D1A
tetradic
#1A148D #8D144B #878D14 #148D57
square
#1A148D #8D144B #878D14 #148D57
split-complementary
#1A148D #8D5714 #4B8D14
monochromatic
#060522 #100C57 #1A148D #241CC3 #4139E3

Accessibility & contrast

On white

13.74
#1A148D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#1A148D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A148D
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A148D#FFFFFF#000000##FFFFFF
##1A148D1.0013.741.5313.74
#FFFFFF13.741.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003390
Deuteranopia (green-blind)
#00278B
Tritanopia (blue-blind)
#003C53
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1a148d;
/* rgb */ color: rgb(26, 20, 141);
/* oklch */ color: oklch(31.7% 0.184 271.0);
Tailwind
colors: {
  custom: {
    50: '#6f56b0',
    500: '#1a148d',
    950: '#000000',
  },
}
SCSS
$custom: #1a148d;
$custom-light: #6f56b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1a148d",
  "rgb": {
    "r": 26,
    "g": 20,
    "b": 141
  },
  "hsl": {
    "h": 242.975,
    "s": 75.155,
    "l": 31.569
  },
  "oklch": {
    "l": 0.31742,
    "c": 0.18398,
    "h": 271
  },
  "luminance": 0.02643
}

Semantic roles & 50–950 ramp

primary
#1A148D
secondary
#BAC13C
accent
#F236E8
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #1A148D

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

Preview Lab → · Contrast checker → · Palette generator →

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