#1A1968#1A1968

#1A1968 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.0% C 0.133 H 274.2°. Best body text is #FFFFFF at 15.19:1 contrast (WCAG AA passes).

Color values

HEX#1A1968
RGBrgb(26, 25, 104)
HSLhsl(241, 61%, 25%)
HSVhsv(241, 76%, 41%)
CMYKcmyk(75%, 76%, 0%, 59.2%)
CIE-LABlab(15.03, 28.90, -45.71)
CIE-LCHlch(15.03, 54.08, 302.30°)
OKLaboklab(27.97% 0.0098 -0.1322)
OKLCHoklch(27.97% 0.133 274.2)
XYZxyz(3.2715, 1.9140, 13.2911)
Luminance0.0191 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1968 #676819
analogous
#194068 #1A1968 #411968
triadic
#1A1968 #681A19 #19681A
tetradic
#1A1968 #681940 #676819 #196841
square
#1A1968 #681940 #676819 #196841
split-complementary
#1A1968 #684119 #406819
monochromatic
#060619 #0E0D37 #1A1968 #262599 #3331CB

Accessibility & contrast

On white

15.19
#1A1968 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#1A1968 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A1968
15.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1968#FFFFFF#000000##FFFFFF
##1A19681.0015.191.3815.19
#FFFFFF15.191.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296A
Deuteranopia (green-blind)
#002267
Tritanopia (blue-blind)
#002F3E
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #1a1968;
/* rgb */ color: rgb(26, 25, 104);
/* oklch */ color: oklch(28.0% 0.133 274.2);
Tailwind
colors: {
  custom: {
    50: '#645694',
    500: '#1a1968',
    950: '#000000',
  },
}
SCSS
$custom: #1a1968;
$custom-light: #645694;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1968",
  "rgb": {
    "r": 26,
    "g": 25,
    "b": 104
  },
  "hsl": {
    "h": 240.759,
    "s": 61.24,
    "l": 25.294
  },
  "oklch": {
    "l": 0.27972,
    "c": 0.13254,
    "h": 274.2
  },
  "luminance": 0.01914
}

Semantic roles & 50–950 ramp

primary
#1A1968
secondary
#9D9E3F
accent
#E443E2
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #1A1968

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

Preview Lab → · Contrast checker → · Palette generator →

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