#1B185A#1B185A

#1B185A is a dark, moderate blue. Relative luminance 0.016; OKLCH L 26.4% C 0.114 H 277.2°. Best body text is #FFFFFF at 15.85:1 contrast (WCAG AA passes).

Color values

HEX#1B185A
RGBrgb(27, 24, 90)
HSLhsl(243, 58%, 22%)
HSVhsv(243, 73%, 35%)
CMYKcmyk(70%, 73.3%, 0%, 64.7%)
CIE-LABlab(13.38, 24.48, -39.12)
CIE-LCHlch(13.38, 46.15, 302.04°)
OKLaboklab(26.36% 0.0143 -0.1129)
OKLCHoklch(26.36% 0.114 277.2)
XYZxyz(2.6235, 1.6242, 9.8461)
Luminance0.0162 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B185A #575A18
analogous
#18365A #1B185A #3C185A
triadic
#1B185A #5A1B18 #185A1B
tetradic
#1B185A #5A1836 #575A18 #185A3C
square
#1B185A #5A1836 #575A18 #185A3C
split-complementary
#1B185A #5A3C18 #365A18
monochromatic
#070618 #0D0B2A #1B185A #29258A #3832BB

Accessibility & contrast

On white

15.85
#1B185A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#1B185A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B185A
15.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B185A#FFFFFF#000000##FFFFFF
##1B185A1.0015.851.3215.85
#FFFFFF15.851.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255C
Deuteranopia (green-blind)
#001F59
Tritanopia (blue-blind)
#002A36
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #1b185a;
/* rgb */ color: rgb(27, 24, 90);
/* oklch */ color: oklch(26.4% 0.114 277.2);
Tailwind
colors: {
  custom: {
    50: '#615589',
    500: '#1b185a',
    950: '#000000',
  },
}
SCSS
$custom: #1b185a;
$custom-light: #615589;
$custom-dark: #000000;
JSON
{
  "hex": "#1b185a",
  "rgb": {
    "r": 27,
    "g": 24,
    "b": 90
  },
  "hsl": {
    "h": 242.727,
    "s": 57.895,
    "l": 22.353
  },
  "oklch": {
    "l": 0.26355,
    "c": 0.11379,
    "h": 277.2
  },
  "luminance": 0.01624
}

Semantic roles & 50–950 ramp

primary
#1B185A
secondary
#8D913D
accent
#E147DA
background
#F6F5F8
surface
#EBE8F0
border
#C6C4CB
text
#05030C
muted
#7A787D

Preview Lab

Preview with #1B185A

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

Preview Lab → · Contrast checker → · Palette generator →

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