#1B114F#1B114F

#1B114F is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 24.0% C 0.107 H 282.1°. Best body text is #FFFFFF at 16.94:1 contrast (WCAG AA passes).

Color values

HEX#1B114F
RGBrgb(27, 17, 79)
HSLhsl(250, 65%, 19%)
HSVhsv(250, 78%, 31%)
CMYKcmyk(65.8%, 78.5%, 0%, 69%)
CIE-LABlab(10.54, 25.06, -36.28)
CIE-LCHlch(10.54, 44.10, 304.63°)
OKLaboklab(23.97% 0.0224 -0.1046)
OKLCHoklch(23.97% 0.107 282.1)
XYZxyz(2.0633, 1.1983, 7.5182)
Luminance0.0120 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B114F #454F11
analogous
#11264F #1B114F #3A114F
triadic
#1B114F #4F1B11 #114F1B
tetradic
#1B114F #4F1126 #454F11 #114F3A
square
#1B114F #4F1126 #454F11 #114F3A
split-complementary
#1B114F #4F3A11 #264F11
monochromatic
#090519 #0A061D #1B114F #2C1C81 #3D27B4

Accessibility & contrast

On white

16.94
#1B114F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B114F
16.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B114F#FFFFFF#000000##FFFFFF
##1B114F1.0016.941.2416.94
#FFFFFF16.941.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F51
Deuteranopia (green-blind)
#001A4E
Tritanopia (blue-blind)
#00222E
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #1b114f;
/* rgb */ color: rgb(27, 17, 79);
/* oklch */ color: oklch(24.0% 0.107 282.1);
Tailwind
colors: {
  custom: {
    50: '#5f5081',
    500: '#1b114f',
    950: '#000000',
  },
}
SCSS
$custom: #1b114f;
$custom-light: #5f5081;
$custom-dark: #000000;
JSON
{
  "hex": "#1b114f",
  "rgb": {
    "r": 27,
    "g": 17,
    "b": 79
  },
  "hsl": {
    "h": 249.677,
    "s": 64.583,
    "l": 18.824
  },
  "oklch": {
    "l": 0.23973,
    "c": 0.10693,
    "h": 282.1
  },
  "luminance": 0.01198
}

Semantic roles & 50–950 ramp

primary
#1B114F
secondary
#7B8833
accent
#E840CD
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#05020A
muted
#79787C

Preview Lab

Preview with #1B114F

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

Preview Lab → · Contrast checker → · Palette generator →

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