#1B0E6F#1B0E6F

#1B0E6F is a dark, vivid blue. Relative luminance 0.017; OKLCH L 27.4% C 0.152 H 275.6°. Best body text is #FFFFFF at 15.68:1 contrast (WCAG AA passes).

Color values

HEX#1B0E6F
RGBrgb(27, 14, 111)
HSLhsl(248, 78%, 25%)
HSVhsv(248, 87%, 44%)
CMYKcmyk(75.7%, 87.4%, 0%, 56.5%)
CIE-LABlab(13.79, 37.56, -52.34)
CIE-LCHlch(13.79, 64.42, 305.67°)
OKLaboklab(27.37% 0.0147 -0.1513)
OKLCHoklch(27.37% 0.152 275.6)
XYZxyz(3.4773, 1.6944, 15.1796)
Luminance0.0169 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B0E6F #626F0E
analogous
#0E326F #1B0E6F #4C0E6F
triadic
#1B0E6F #6F1B0E #0E6F1B
tetradic
#1B0E6F #6F0E32 #626F0E #0E6F4C
square
#1B0E6F #6F0E32 #626F0E #0E6F4C
split-complementary
#1B0E6F #6F4C0E #326F0E
monochromatic
#07031B #0E0739 #1B0E6F #2815A5 #351CDC

Accessibility & contrast

On white

15.68
#1B0E6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B0E6F
15.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B0E6F#FFFFFF#000000##FFFFFF
##1B0E6F1.0015.681.3415.68
#FFFFFF15.681.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002772
Deuteranopia (green-blind)
#001F6D
Tritanopia (blue-blind)
#002D40
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #1b0e6f;
/* rgb */ color: rgb(27, 14, 111);
/* oklch */ color: oklch(27.4% 0.152 275.6);
Tailwind
colors: {
  custom: {
    50: '#67519a',
    500: '#1b0e6f',
    950: '#000000',
  },
}
SCSS
$custom: #1b0e6f;
$custom-light: #67519a;
$custom-dark: #000000;
JSON
{
  "hex": "#1b0e6f",
  "rgb": {
    "r": 27,
    "g": 14,
    "b": 111
  },
  "hsl": {
    "h": 248.041,
    "s": 77.6,
    "l": 24.51
  },
  "oklch": {
    "l": 0.27372,
    "c": 0.15198,
    "h": 275.6
  },
  "luminance": 0.01695
}

Semantic roles & 50–950 ramp

primary
#1B0E6F
secondary
#98A732
accent
#F434DA
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #1B0E6F

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

Preview Lab → · Contrast checker → · Palette generator →

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