#1B134F#1B134F

#1B134F is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.3% C 0.104 H 281.4°. Best body text is #FFFFFF at 16.77:1 contrast (WCAG AA passes).

Color values

HEX#1B134F
RGBrgb(27, 19, 79)
HSLhsl(248, 61%, 19%)
HSVhsv(248, 76%, 31%)
CMYKcmyk(65.8%, 75.9%, 0%, 69%)
CIE-LABlab(11.01, 23.76, -35.51)
CIE-LCHlch(11.01, 42.73, 303.79°)
OKLaboklab(24.31% 0.0206 -0.1023)
OKLCHoklch(24.31% 0.104 281.4)
XYZxyz(2.0957, 1.2631, 7.5290)
Luminance0.0126 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B134F #474F13
analogous
#13294F #1B134F #39134F
triadic
#1B134F #4F1B13 #134F1B
tetradic
#1B134F #4F1329 #474F13 #134F39
square
#1B134F #4F1329 #474F13 #134F39
split-complementary
#1B134F #4F3913 #294F13
monochromatic
#080619 #0A071E #1B134F #2C1F80 #3D2BB2

Accessibility & contrast

On white

16.77
#1B134F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#1B134F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B134F
16.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B134F#FFFFFF#000000##FFFFFF
##1B134F1.0016.771.2516.77
#FFFFFF16.771.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002051
Deuteranopia (green-blind)
#001B4E
Tritanopia (blue-blind)
#00232F
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #1b134f;
/* rgb */ color: rgb(27, 19, 79);
/* oklch */ color: oklch(24.3% 0.104 281.4);
Tailwind
colors: {
  custom: {
    50: '#5f5181',
    500: '#1b134f',
    950: '#000000',
  },
}
SCSS
$custom: #1b134f;
$custom-light: #5f5181;
$custom-dark: #000000;
JSON
{
  "hex": "#1b134f",
  "rgb": {
    "r": 27,
    "g": 19,
    "b": 79
  },
  "hsl": {
    "h": 248,
    "s": 61.224,
    "l": 19.216
  },
  "oklch": {
    "l": 0.24309,
    "c": 0.10436,
    "h": 281.4
  },
  "luminance": 0.01263
}

Semantic roles & 50–950 ramp

primary
#1B134F
secondary
#7D8836
accent
#E443CF
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#05020A
muted
#79787C

Preview Lab

Preview with #1B134F

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

Preview Lab → · Contrast checker → · Palette generator →

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