#1B1869#1B1869

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

Color values

HEX#1B1869
RGBrgb(27, 24, 105)
HSLhsl(242, 63%, 25%)
HSVhsv(242, 77%, 41%)
CMYKcmyk(74.3%, 77.1%, 0%, 58.8%)
CIE-LABlab(14.99, 30.01, -46.44)
CIE-LCHlch(14.99, 55.29, 302.87°)
OKLaboklab(27.99% 0.0115 -0.1343)
OKLCHoklch(27.99% 0.135 274.9)
XYZxyz(3.3276, 1.9059, 13.5544)
Luminance0.0191 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B1869 #666918
analogous
#183D69 #1B1869 #431869
triadic
#1B1869 #691B18 #18691B
tetradic
#1B1869 #69183D #666918 #186943
square
#1B1869 #69183D #666918 #186943
split-complementary
#1B1869 #694318 #3D6918
monochromatic
#060619 #0E0D37 #1B1869 #28239B #352FCD

Accessibility & contrast

On white

15.20
#1B1869 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B1869
15.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B1869#FFFFFF#000000##FFFFFF
##1B18691.0015.201.3815.20
#FFFFFF15.201.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296B
Deuteranopia (green-blind)
#002268
Tritanopia (blue-blind)
#002F3F
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #1b1869;
/* rgb */ color: rgb(27, 24, 105);
/* oklch */ color: oklch(28.0% 0.135 274.9);
Tailwind
colors: {
  custom: {
    50: '#655695',
    500: '#1b1869',
    950: '#000000',
  },
}
SCSS
$custom: #1b1869;
$custom-light: #655695;
$custom-dark: #000000;
JSON
{
  "hex": "#1b1869",
  "rgb": {
    "r": 27,
    "g": 24,
    "b": 105
  },
  "hsl": {
    "h": 242.222,
    "s": 62.791,
    "l": 25.294
  },
  "oklch": {
    "l": 0.27993,
    "c": 0.13476,
    "h": 274.9
  },
  "luminance": 0.01906
}

Semantic roles & 50–950 ramp

primary
#1B1869
secondary
#9B9F3E
accent
#E642E0
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030D
muted
#7A787E

Preview Lab

Preview with #1B1869

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

Preview Lab → · Contrast checker → · Palette generator →

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