#1B135E#1B135E

#1B135E is a dark, vivid blue. Relative luminance 0.015; OKLCH L 26.0% C 0.125 H 277.9°. Best body text is #FFFFFF at 16.14:1 contrast (WCAG AA passes).

Color values

HEX#1B135E
RGBrgb(27, 19, 94)
HSLhsl(246, 66%, 22%)
HSVhsv(246, 80%, 37%)
CMYKcmyk(71.3%, 79.8%, 0%, 63.1%)
CIE-LABlab(12.65, 29.15, -43.00)
CIE-LCHlch(12.65, 51.95, 304.14°)
OKLaboklab(25.97% 0.0172 -0.1242)
OKLCHoklch(25.97% 0.125 277.9)
XYZxyz(2.7046, 1.5067, 10.7358)
Luminance0.0151 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B135E #565E13
analogous
#13315E #1B135E #41135E
triadic
#1B135E #5E1B13 #135E1B
tetradic
#1B135E #5E1331 #565E13 #135E41
square
#1B135E #5E1331 #565E13 #135E41
split-complementary
#1B135E #5E4113 #315E13
monochromatic
#070519 #0C092B #1B135E #2A1D91 #3828C4

Accessibility & contrast

On white

16.14
#1B135E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B135E
16.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B135E#FFFFFF#000000##FFFFFF
##1B135E1.0016.141.3016.14
#FFFFFF16.141.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002460
Deuteranopia (green-blind)
#001E5D
Tritanopia (blue-blind)
#002937
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #1b135e;
/* rgb */ color: rgb(27, 19, 94);
/* oklch */ color: oklch(26.0% 0.125 277.9);
Tailwind
colors: {
  custom: {
    50: '#63528d',
    500: '#1b135e',
    950: '#000000',
  },
}
SCSS
$custom: #1b135e;
$custom-light: #63528d;
$custom-dark: #000000;
JSON
{
  "hex": "#1b135e",
  "rgb": {
    "r": 27,
    "g": 19,
    "b": 94
  },
  "hsl": {
    "h": 246.4,
    "s": 66.372,
    "l": 22.157
  },
  "oklch": {
    "l": 0.25967,
    "c": 0.12538,
    "h": 277.9
  },
  "luminance": 0.01507
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1B135E

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

Preview Lab → · Contrast checker → · Palette generator →

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