#1B114E#1B114E

#1B114E is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.9% C 0.106 H 282.4°. Best body text is #FFFFFF at 16.98:1 contrast (WCAG AA passes).

Color values

HEX#1B114E
RGBrgb(27, 17, 78)
HSLhsl(250, 64%, 19%)
HSVhsv(250, 78%, 31%)
CMYKcmyk(65.4%, 78.2%, 0%, 69.4%)
CIE-LABlab(10.44, 24.71, -35.77)
CIE-LCHlch(10.44, 43.47, 304.63°)
OKLaboklab(23.86% 0.0226 -0.1031)
OKLCHoklch(23.86% 0.106 282.4)
XYZxyz(2.0272, 1.1838, 7.3279)
Luminance0.0118 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B114E #444E11
analogous
#11254E #1B114E #39114E
triadic
#1B114E #4E1B11 #114E1B
tetradic
#1B114E #4E1125 #444E11 #114E39
square
#1B114E #4E1125 #444E11 #114E39
split-complementary
#1B114E #4E3911 #254E11
monochromatic
#090519 #0A061C #1B114E #2C1C80 #3E27B2

Accessibility & contrast

On white

16.98
#1B114E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#1B114E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B114E
16.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B114E#FFFFFF#000000##FFFFFF
##1B114E1.0016.981.2416.98
#FFFFFF16.981.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E50
Deuteranopia (green-blind)
#001A4D
Tritanopia (blue-blind)
#00222E
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #1b114e;
/* rgb */ color: rgb(27, 17, 78);
/* oklch */ color: oklch(23.9% 0.106 282.4);
Tailwind
colors: {
  custom: {
    50: '#5f5080',
    500: '#1b114e',
    950: '#000000',
  },
}
SCSS
$custom: #1b114e;
$custom-light: #5f5080;
$custom-dark: #000000;
JSON
{
  "hex": "#1b114e",
  "rgb": {
    "r": 27,
    "g": 17,
    "b": 78
  },
  "hsl": {
    "h": 249.836,
    "s": 64.211,
    "l": 18.627
  },
  "oklch": {
    "l": 0.23864,
    "c": 0.10552,
    "h": 282.4
  },
  "luminance": 0.01184
}

Semantic roles & 50–950 ramp

primary
#1B114E
secondary
#7A8733
accent
#E741CC
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#05020A
muted
#79787C

Preview Lab

Preview with #1B114E

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

Preview Lab → · Contrast checker → · Palette generator →

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