#1B135D#1B135D

#1B135D is a dark, vivid blue. Relative luminance 0.015; OKLCH L 25.9% C 0.124 H 278.1°. Best body text is #FFFFFF at 16.18:1 contrast (WCAG AA passes).

Color values

HEX#1B135D
RGBrgb(27, 19, 93)
HSLhsl(246, 66%, 22%)
HSVhsv(246, 80%, 36%)
CMYKcmyk(71%, 79.6%, 0%, 63.5%)
CIE-LABlab(12.54, 28.80, -42.52)
CIE-LCHlch(12.54, 51.35, 304.11°)
OKLaboklab(25.85% 0.0174 -0.1228)
OKLCHoklch(25.85% 0.124 278.1)
XYZxyz(2.6600, 1.4888, 10.5010)
Luminance0.0149 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B135D #555D13
analogous
#13305D #1B135D #40135D
triadic
#1B135D #5D1B13 #135D1B
tetradic
#1B135D #5D1330 #555D13 #135D40
square
#1B135D #5D1330 #555D13 #135D40
split-complementary
#1B135D #5D4013 #305D13
monochromatic
#070519 #0C092A #1B135D #2A1D90 #3928C3

Accessibility & contrast

On white

16.18
#1B135D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#1B135D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B135D
16.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B135D#FFFFFF#000000##FFFFFF
##1B135D1.0016.181.3016.18
#FFFFFF16.181.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00245F
Deuteranopia (green-blind)
#001E5C
Tritanopia (blue-blind)
#002837
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #1b135d;
/* rgb */ color: rgb(27, 19, 93);
/* oklch */ color: oklch(25.9% 0.124 278.1);
Tailwind
colors: {
  custom: {
    50: '#62528c',
    500: '#1b135d',
    950: '#000000',
  },
}
SCSS
$custom: #1b135d;
$custom-light: #62528c;
$custom-dark: #000000;
JSON
{
  "hex": "#1b135d",
  "rgb": {
    "r": 27,
    "g": 19,
    "b": 93
  },
  "hsl": {
    "h": 246.486,
    "s": 66.071,
    "l": 21.961
  },
  "oklch": {
    "l": 0.25853,
    "c": 0.12402,
    "h": 278.1
  },
  "luminance": 0.01489
}

Semantic roles & 50–950 ramp

primary
#1B135D
secondary
#8B9537
accent
#E93FD7
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1B135D

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

Preview Lab → · Contrast checker → · Palette generator →

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