#1B1968#1B1968

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

Color values

HEX#1B1968
RGBrgb(27, 25, 104)
HSLhsl(242, 61%, 25%)
HSVhsv(242, 76%, 41%)
CMYKcmyk(74%, 76%, 0%, 59.2%)
CIE-LABlab(15.10, 29.02, -45.59)
CIE-LCHlch(15.10, 54.04, 302.47°)
OKLaboklab(28.04% 0.0111 -0.1318)
OKLCHoklch(28.04% 0.132 274.8)
XYZxyz(3.2975, 1.9274, 13.2923)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B1968 #666819
analogous
#193E68 #1B1968 #421968
triadic
#1B1968 #681B19 #19681B
tetradic
#1B1968 #68193E #666819 #196842
square
#1B1968 #68193E #666819 #196842
split-complementary
#1B1968 #684219 #3E6819
monochromatic
#060619 #0E0D37 #1B1968 #282599 #3531CB

Accessibility & contrast

On white

15.16
#1B1968 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#1B1968 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B1968
15.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B1968#FFFFFF#000000##FFFFFF
##1B19681.0015.161.3915.16
#FFFFFF15.161.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.161.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: #1b1968;
/* rgb */ color: rgb(27, 25, 104);
/* oklch */ color: oklch(28.0% 0.132 274.8);
Tailwind
colors: {
  custom: {
    50: '#645694',
    500: '#1b1968',
    950: '#000000',
  },
}
SCSS
$custom: #1b1968;
$custom-light: #645694;
$custom-dark: #000000;
JSON
{
  "hex": "#1b1968",
  "rgb": {
    "r": 27,
    "g": 25,
    "b": 104
  },
  "hsl": {
    "h": 241.519,
    "s": 61.24,
    "l": 25.294
  },
  "oklch": {
    "l": 0.28043,
    "c": 0.13227,
    "h": 274.8
  },
  "luminance": 0.01928
}

Semantic roles & 50–950 ramp

primary
#1B1968
secondary
#9B9E3F
accent
#E443E0
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #1B1968

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

Preview Lab → · Contrast checker → · Palette generator →

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