#1B0F5A#1B0F5A

#1B0F5A is a very dark, vivid blue. Relative luminance 0.013; OKLCH L 24.9% C 0.124 H 279.7°. Best body text is #FFFFFF at 16.63:1 contrast (WCAG AA passes).

Color values

HEX#1B0F5A
RGBrgb(27, 15, 90)
HSLhsl(250, 71%, 21%)
HSVhsv(250, 83%, 35%)
CMYKcmyk(70%, 83.3%, 0%, 64.7%)
CIE-LABlab(11.36, 30.11, -42.43)
CIE-LCHlch(11.36, 52.03, 305.36°)
OKLaboklab(24.92% 0.0209 -0.1225)
OKLCHoklch(24.92% 0.124 279.7)
XYZxyz(2.4677, 1.3126, 9.7942)
Luminance0.0131 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B0F5A #4E5A0F
analogous
#0F285A #1B0F5A #400F5A
triadic
#1B0F5A #5A1B0F #0F5A1B
tetradic
#1B0F5A #5A0F28 #4E5A0F #0F5A40
square
#1B0F5A #5A0F28 #4E5A0F #0F5A40
split-complementary
#1B0F5A #5A400F #285A0F
monochromatic
#08041A #0B0626 #1B0F5A #2B188E #3A20C3

Accessibility & contrast

On white

16.63
#1B0F5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#1B0F5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B0F5A
16.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B0F5A#FFFFFF#000000##FFFFFF
##1B0F5A1.0016.631.2616.63
#FFFFFF16.631.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00215C
Deuteranopia (green-blind)
#001B59
Tritanopia (blue-blind)
#002534
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #1b0f5a;
/* rgb */ color: rgb(27, 15, 90);
/* oklch */ color: oklch(24.9% 0.124 279.7);
Tailwind
colors: {
  custom: {
    50: '#624f8a',
    500: '#1b0f5a',
    950: '#000000',
  },
}
SCSS
$custom: #1b0f5a;
$custom-light: #624f8a;
$custom-dark: #000000;
JSON
{
  "hex": "#1b0f5a",
  "rgb": {
    "r": 27,
    "g": 15,
    "b": 90
  },
  "hsl": {
    "h": 249.6,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.24924,
    "c": 0.12428,
    "h": 279.7
  },
  "luminance": 0.01313
}

Semantic roles & 50–950 ramp

primary
#1B0F5A
secondary
#849431
accent
#EE3AD1
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1B0F5A

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

Preview Lab → · Contrast checker → · Palette generator →

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