#1B106E#1B106E

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

Color values

HEX#1B106E
RGBrgb(27, 16, 110)
HSLhsl(247, 75%, 25%)
HSVhsv(247, 85%, 43%)
CMYKcmyk(75.5%, 85.5%, 0%, 56.9%)
CIE-LABlab(14.00, 36.27, -51.35)
CIE-LCHlch(14.00, 62.87, 305.24°)
OKLaboklab(27.47% 0.0143 -0.1484)
OKLCHoklch(27.47% 0.149 275.5)
XYZxyz(3.4508, 1.7290, 14.9007)
Luminance0.0173 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B106E #636E10
analogous
#10346E #1B106E #4A106E
triadic
#1B106E #6E1B10 #106E1B
tetradic
#1B106E #6E1034 #636E10 #106E4A
square
#1B106E #6E1034 #636E10 #106E4A
split-complementary
#1B106E #6E4A10 #346E10
monochromatic
#07041B #0E0839 #1B106E #2818A3 #3520D9

Accessibility & contrast

On white

15.60
#1B106E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#1B106E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B106E
15.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B106E#FFFFFF#000000##FFFFFF
##1B106E1.0015.601.3515.60
#FFFFFF15.601.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002871
Deuteranopia (green-blind)
#001F6C
Tritanopia (blue-blind)
#002E40
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #1b106e;
/* rgb */ color: rgb(27, 16, 110);
/* oklch */ color: oklch(27.5% 0.149 275.5);
Tailwind
colors: {
  custom: {
    50: '#675199',
    500: '#1b106e',
    950: '#000000',
  },
}
SCSS
$custom: #1b106e;
$custom-light: #675199;
$custom-dark: #000000;
JSON
{
  "hex": "#1b106e",
  "rgb": {
    "r": 27,
    "g": 16,
    "b": 110
  },
  "hsl": {
    "h": 247.021,
    "s": 74.603,
    "l": 24.706
  },
  "oklch": {
    "l": 0.27474,
    "c": 0.14912,
    "h": 275.5
  },
  "luminance": 0.01729
}

Semantic roles & 50–950 ramp

primary
#1B106E
secondary
#98A634
accent
#F137DB
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #1B106E

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

Preview Lab → · Contrast checker → · Palette generator →

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