#1B0F6D#1B0F6D

#1B0F6D is a dark, vivid blue. Relative luminance 0.017; OKLCH L 27.2% C 0.149 H 275.8°. Best body text is #FFFFFF at 15.72:1 contrast (WCAG AA passes).

Color values

HEX#1B0F6D
RGBrgb(27, 15, 109)
HSLhsl(248, 76%, 24%)
HSVhsv(248, 86%, 43%)
CMYKcmyk(75.2%, 86.2%, 0%, 57.3%)
CIE-LABlab(13.70, 36.44, -51.18)
CIE-LCHlch(13.70, 62.83, 305.45°)
OKLaboklab(27.23% 0.015 -0.1479)
OKLCHoklch(27.23% 0.149 275.8)
XYZxyz(3.3822, 1.6785, 14.6108)
Luminance0.0168 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B0F6D #616D0F
analogous
#0F326D #1B0F6D #4A0F6D
triadic
#1B0F6D #6D1B0F #0F6D1B
tetradic
#1B0F6D #6D0F32 #616D0F #0F6D4A
square
#1B0F6D #6D0F32 #616D0F #0F6D4A
split-complementary
#1B0F6D #6D4A0F #326D0F
monochromatic
#07041B #0E0837 #1B0F6D #2816A3 #361ED9

Accessibility & contrast

On white

15.72
#1B0F6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#1B0F6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B0F6D
15.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B0F6D#FFFFFF#000000##FFFFFF
##1B0F6D1.0015.721.3415.72
#FFFFFF15.721.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002770
Deuteranopia (green-blind)
#001F6B
Tritanopia (blue-blind)
#002D3F
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #1b0f6d;
/* rgb */ color: rgb(27, 15, 109);
/* oklch */ color: oklch(27.2% 0.149 275.8);
Tailwind
colors: {
  custom: {
    50: '#675198',
    500: '#1b0f6d',
    950: '#000000',
  },
}
SCSS
$custom: #1b0f6d;
$custom-light: #675198;
$custom-dark: #000000;
JSON
{
  "hex": "#1b0f6d",
  "rgb": {
    "r": 27,
    "g": 15,
    "b": 109
  },
  "hsl": {
    "h": 247.66,
    "s": 75.806,
    "l": 24.314
  },
  "oklch": {
    "l": 0.27233,
    "c": 0.14871,
    "h": 275.8
  },
  "luminance": 0.01679
}

Semantic roles & 50–950 ramp

primary
#1B0F6D
secondary
#97A533
accent
#F235DA
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #1B0F6D

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

Preview Lab → · Contrast checker → · Palette generator →

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