#1B0F63#1B0F63

#1B0F63 is a dark, vivid blue. Relative luminance 0.015; OKLCH L 26.0% C 0.136 H 277.7°. Best body text is #FFFFFF at 16.21:1 contrast (WCAG AA passes).

Color values

HEX#1B0F63
RGBrgb(27, 15, 99)
HSLhsl(249, 74%, 22%)
HSVhsv(249, 85%, 39%)
CMYKcmyk(72.7%, 84.8%, 0%, 61.2%)
CIE-LABlab(12.45, 33.14, -46.66)
CIE-LCHlch(12.45, 57.24, 305.39°)
OKLaboklab(26% 0.0181 -0.1348)
OKLCHoklch(26% 0.136 277.7)
XYZxyz(2.8742, 1.4753, 11.9352)
Luminance0.0148 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B0F63 #57630F
analogous
#0F2D63 #1B0F63 #450F63
triadic
#1B0F63 #631B0F #0F631B
tetradic
#1B0F63 #630F2D #57630F #0F6345
square
#1B0F63 #630F2D #57630F #0F6345
split-complementary
#1B0F63 #63450F #2D630F
monochromatic
#07041B #0D072E #1B0F63 #291798 #381FCD

Accessibility & contrast

On white

16.21
#1B0F63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#1B0F63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B0F63
16.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B0F63#FFFFFF#000000##FFFFFF
##1B0F631.0016.211.3016.21
#FFFFFF16.211.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002465
Deuteranopia (green-blind)
#001D62
Tritanopia (blue-blind)
#002939
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #1b0f63;
/* rgb */ color: rgb(27, 15, 99);
/* oklch */ color: oklch(26.0% 0.136 277.7);
Tailwind
colors: {
  custom: {
    50: '#645090',
    500: '#1b0f63',
    950: '#000000',
  },
}
SCSS
$custom: #1b0f63;
$custom-light: #645090;
$custom-dark: #000000;
JSON
{
  "hex": "#1b0f63",
  "rgb": {
    "r": 27,
    "g": 15,
    "b": 99
  },
  "hsl": {
    "h": 248.571,
    "s": 73.684,
    "l": 22.353
  },
  "oklch": {
    "l": 0.26002,
    "c": 0.13604,
    "h": 277.7
  },
  "luminance": 0.01476
}

Semantic roles & 50–950 ramp

primary
#1B0F63
secondary
#8D9C32
accent
#F037D6
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06020D
muted
#7A787E

Preview Lab

Preview with #1B0F63

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

Preview Lab → · Contrast checker → · Palette generator →

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