#1B1967#1B1967

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

Color values

HEX#1B1967
RGBrgb(27, 25, 103)
HSLhsl(242, 61%, 25%)
HSVhsv(242, 76%, 40%)
CMYKcmyk(73.8%, 75.7%, 0%, 59.6%)
CIE-LABlab(14.99, 28.65, -45.11)
CIE-LCHlch(14.99, 53.44, 302.42°)
OKLaboklab(27.93% 0.0113 -0.1304)
OKLCHoklch(27.93% 0.131 274.9)
XYZxyz(3.2470, 1.9072, 13.0264)
Luminance0.0191 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B1967 #656719
analogous
#193E67 #1B1967 #421967
triadic
#1B1967 #671B19 #19671B
tetradic
#1B1967 #67193E #656719 #196742
square
#1B1967 #67193E #656719 #196742
split-complementary
#1B1967 #674219 #3E6719
monochromatic
#060619 #0E0D36 #1B1967 #282598 #3531C9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B1967#FFFFFF#000000##FFFFFF
##1B19671.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)
#002969
Deuteranopia (green-blind)
#002266
Tritanopia (blue-blind)
#002F3E
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #1b1967;
/* rgb */ color: rgb(27, 25, 103);
/* oklch */ color: oklch(27.9% 0.131 274.9);
Tailwind
colors: {
  custom: {
    50: '#645693',
    500: '#1b1967',
    950: '#000000',
  },
}
SCSS
$custom: #1b1967;
$custom-light: #645693;
$custom-dark: #000000;
JSON
{
  "hex": "#1b1967",
  "rgb": {
    "r": 27,
    "g": 25,
    "b": 103
  },
  "hsl": {
    "h": 241.538,
    "s": 60.938,
    "l": 25.098
  },
  "oklch": {
    "l": 0.27932,
    "c": 0.1309,
    "h": 274.9
  },
  "luminance": 0.01908
}

Semantic roles & 50–950 ramp

primary
#1B1967
secondary
#9A9D3F
accent
#E444E0
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #1B1967

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

Preview Lab → · Contrast checker → · Palette generator →

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