#1B1963#1B1963

#1B1963 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.5% C 0.125 H 275.5°. Best body text is #FFFFFF at 15.38:1 contrast (WCAG AA passes).

Color values

HEX#1B1963
RGBrgb(27, 25, 99)
HSLhsl(242, 60%, 24%)
HSVhsv(242, 75%, 39%)
CMYKcmyk(72.7%, 74.7%, 0%, 61.2%)
CIE-LABlab(14.56, 27.17, -43.18)
CIE-LCHlch(14.56, 51.02, 302.18°)
OKLaboklab(27.49% 0.012 -0.1248)
OKLCHoklch(27.49% 0.125 275.5)
XYZxyz(3.0510, 1.8288, 11.9942)
Luminance0.0183 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B1963 #616319
analogous
#193C63 #1B1963 #401963
triadic
#1B1963 #631B19 #19631B
tetradic
#1B1963 #63193C #616319 #196340
square
#1B1963 #63193C #616319 #196340
split-complementary
#1B1963 #634019 #3C6319
monochromatic
#070618 #0E0D32 #1B1963 #282594 #3632C5

Accessibility & contrast

On white

15.38
#1B1963 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#1B1963 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B1963
15.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B1963#FFFFFF#000000##FFFFFF
##1B19631.0015.381.3715.38
#FFFFFF15.381.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002865
Deuteranopia (green-blind)
#002162
Tritanopia (blue-blind)
#002D3C
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #1b1963;
/* rgb */ color: rgb(27, 25, 99);
/* oklch */ color: oklch(27.5% 0.125 275.5);
Tailwind
colors: {
  custom: {
    50: '#635690',
    500: '#1b1963',
    950: '#000000',
  },
}
SCSS
$custom: #1b1963;
$custom-light: #635690;
$custom-dark: #000000;
JSON
{
  "hex": "#1b1963",
  "rgb": {
    "r": 27,
    "g": 25,
    "b": 99
  },
  "hsl": {
    "h": 241.622,
    "s": 59.677,
    "l": 24.314
  },
  "oklch": {
    "l": 0.27494,
    "c": 0.12534,
    "h": 275.5
  },
  "luminance": 0.01829
}

Semantic roles & 50–950 ramp

primary
#1B1963
secondary
#97993F
accent
#E345DF
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030D
muted
#7A787D

Preview Lab

Preview with #1B1963

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

Preview Lab → · Contrast checker → · Palette generator →

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