#1B135F#1B135F

#1B135F is a dark, vivid blue. Relative luminance 0.015; OKLCH L 26.1% C 0.127 H 277.7°. Best body text is #FFFFFF at 16.09:1 contrast (WCAG AA passes).

Color values

HEX#1B135F
RGBrgb(27, 19, 95)
HSLhsl(246, 67%, 22%)
HSVhsv(246, 80%, 37%)
CMYKcmyk(71.6%, 80%, 0%, 62.7%)
CIE-LABlab(12.76, 29.51, -43.48)
CIE-LCHlch(12.76, 52.55, 304.16°)
OKLaboklab(26.08% 0.0169 -0.1256)
OKLCHoklch(26.08% 0.127 277.7)
XYZxyz(2.7498, 1.5247, 10.9736)
Luminance0.0152 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B135F #575F13
analogous
#13315F #1B135F #41135F
triadic
#1B135F #5F1B13 #135F1B
tetradic
#1B135F #5F1331 #575F13 #135F41
square
#1B135F #5F1331 #575F13 #135F41
split-complementary
#1B135F #5F4113 #315F13
monochromatic
#07051A #0D092C #1B135F #291D92 #3827C5

Accessibility & contrast

On white

16.09
#1B135F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#1B135F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B135F
16.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B135F#FFFFFF#000000##FFFFFF
##1B135F1.0016.091.3116.09
#FFFFFF16.091.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002461
Deuteranopia (green-blind)
#001E5E
Tritanopia (blue-blind)
#002938
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #1b135f;
/* rgb */ color: rgb(27, 19, 95);
/* oklch */ color: oklch(26.1% 0.127 277.7);
Tailwind
colors: {
  custom: {
    50: '#63528d',
    500: '#1b135f',
    950: '#000000',
  },
}
SCSS
$custom: #1b135f;
$custom-light: #63528d;
$custom-dark: #000000;
JSON
{
  "hex": "#1b135f",
  "rgb": {
    "r": 27,
    "g": 19,
    "b": 95
  },
  "hsl": {
    "h": 246.316,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.26082,
    "c": 0.12674,
    "h": 277.7
  },
  "luminance": 0.01525
}

Semantic roles & 50–950 ramp

primary
#1B135F
secondary
#8D9737
accent
#EA3ED8
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1B135F

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

Preview Lab → · Contrast checker → · Palette generator →

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