#1A1368#1A1368

#1A1368 is a dark, vivid blue. Relative luminance 0.017; OKLCH L 27.1% C 0.139 H 275.4°. Best body text is #FFFFFF at 15.71:1 contrast (WCAG AA passes).

Color values

HEX#1A1368
RGBrgb(26, 19, 104)
HSLhsl(245, 69%, 24%)
HSVhsv(245, 82%, 41%)
CMYKcmyk(75%, 81.7%, 0%, 59.2%)
CIE-LABlab(13.74, 32.55, -47.85)
CIE-LCHlch(13.74, 57.87, 304.22°)
OKLaboklab(27.06% 0.0131 -0.1383)
OKLCHoklch(27.06% 0.139 275.4)
XYZxyz(3.1567, 1.6845, 13.2528)
Luminance0.0169 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1368 #616813
analogous
#133768 #1A1368 #451368
triadic
#1A1368 #681A13 #13681A
tetradic
#1A1368 #681337 #616813 #136845
square
#1A1368 #681337 #616813 #136845
split-complementary
#1A1368 #684513 #376813
monochromatic
#06051A #0D0A34 #1A1368 #271C9C #3426CF

Accessibility & contrast

On white

15.71
#1A1368 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#1A1368 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A1368
15.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1368#FFFFFF#000000##FFFFFF
##1A13681.0015.711.3415.71
#FFFFFF15.711.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00276A
Deuteranopia (green-blind)
#001F67
Tritanopia (blue-blind)
#002C3D
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #1a1368;
/* rgb */ color: rgb(26, 19, 104);
/* oklch */ color: oklch(27.1% 0.139 275.4);
Tailwind
colors: {
  custom: {
    50: '#655394',
    500: '#1a1368',
    950: '#000000',
  },
}
SCSS
$custom: #1a1368;
$custom-light: #655394;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1368",
  "rgb": {
    "r": 26,
    "g": 19,
    "b": 104
  },
  "hsl": {
    "h": 244.941,
    "s": 69.106,
    "l": 24.118
  },
  "oklch": {
    "l": 0.27057,
    "c": 0.13897,
    "h": 275.4
  },
  "luminance": 0.01685
}

Semantic roles & 50–950 ramp

primary
#1A1368
secondary
#979F37
accent
#EC3CDD
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#06020D
muted
#7A787E

Preview Lab

Preview with #1A1368

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

Preview Lab → · Contrast checker → · Palette generator →

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