#1A148E#1A148E

#1A148E is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.9% C 0.185 H 270.9°. Best body text is #FFFFFF at 13.68:1 contrast (WCAG AA passes).

Color values

HEX#1A148E
RGBrgb(26, 20, 142)
HSLhsl(243, 75%, 32%)
HSVhsv(243, 86%, 56%)
CMYKcmyk(81.7%, 85.9%, 0%, 44.3%)
CIE-LABlab(18.68, 44.58, -63.98)
CIE-LCHlch(18.68, 77.98, 304.86°)
OKLaboklab(31.87% 0.0029 -0.1851)
OKLCHoklch(31.87% 0.185 270.9)
XYZxyz(5.5570, 2.6723, 25.8089)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A148E #888E14
analogous
#144B8E #1A148E #57148E
triadic
#1A148E #8E1A14 #148E1A
tetradic
#1A148E #8E144B #888E14 #148E57
square
#1A148E #8E144B #888E14 #148E57
split-complementary
#1A148E #8E5714 #4B8E14
monochromatic
#060523 #100C58 #1A148E #241CC4 #4239E3

Accessibility & contrast

On white

13.68
#1A148E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A148E
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A148E#FFFFFF#000000##FFFFFF
##1A148E1.0013.681.5313.68
#FFFFFF13.681.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a148e;
/* rgb */ color: rgb(26, 20, 142);
/* oklch */ color: oklch(31.9% 0.185 270.9);
Tailwind
colors: {
  custom: {
    50: '#6f56b0',
    500: '#1a148e',
    950: '#000000',
  },
}
SCSS
$custom: #1a148e;
$custom-light: #6f56b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1a148e",
  "rgb": {
    "r": 26,
    "g": 20,
    "b": 142
  },
  "hsl": {
    "h": 242.951,
    "s": 75.309,
    "l": 31.765
  },
  "oklch": {
    "l": 0.31868,
    "c": 0.18515,
    "h": 270.9
  },
  "luminance": 0.02673
}

Semantic roles & 50–950 ramp

primary
#1A148E
secondary
#BBC23C
accent
#F236E9
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #1A148E

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

Preview Lab → · Contrast checker → · Palette generator →

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