#1A1895#1A1895

#1A1895 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 33.2% C 0.190 H 270.1°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#1A1895
RGBrgb(26, 24, 149)
HSLhsl(241, 72%, 34%)
HSVhsv(241, 84%, 58%)
CMYKcmyk(82.6%, 83.9%, 0%, 41.6%)
CIE-LABlab(20.21, 44.92, -65.78)
CIE-LCHlch(20.21, 79.66, 304.33°)
OKLaboklab(33.18% 0.0005 -0.1904)
OKLCHoklch(33.18% 0.19 270.1)
XYZxyz(6.1756, 3.0421, 28.6896)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1895 #939518
analogous
#185595 #1A1895 #591895
triadic
#1A1895 #951A18 #18951A
tetradic
#1A1895 #951855 #939518 #189559
square
#1A1895 #951855 #939518 #189559
split-complementary
#1A1895 #955918 #559518
monochromatic
#08072C #111060 #1A1895 #2320CA #4946E1

Accessibility & contrast

On white

13.05
#1A1895 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#1A1895 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A1895
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1895#FFFFFF#000000##FFFFFF
##1A18951.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003798
Deuteranopia (green-blind)
#002A93
Tritanopia (blue-blind)
#004058
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1a1895;
/* rgb */ color: rgb(26, 24, 149);
/* oklch */ color: oklch(33.2% 0.190 270.1);
Tailwind
colors: {
  custom: {
    50: '#7059b6',
    500: '#1a1895',
    950: '#000000',
  },
}
SCSS
$custom: #1a1895;
$custom-light: #7059b6;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1895",
  "rgb": {
    "r": 26,
    "g": 24,
    "b": 149
  },
  "hsl": {
    "h": 240.96,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.33182,
    "c": 0.19043,
    "h": 270.1
  },
  "luminance": 0.03043
}

Semantic roles & 50–950 ramp

primary
#1A1895
secondary
#C0C246
accent
#EF39EC
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #1A1895

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

Preview Lab → · Contrast checker → · Palette generator →

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