#1B185D#1B185D

#1B185D is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.7% C 0.118 H 276.7°. Best body text is #FFFFFF at 15.73:1 contrast (WCAG AA passes).

Color values

HEX#1B185D
RGBrgb(27, 24, 93)
HSLhsl(243, 59%, 23%)
HSVhsv(243, 74%, 36%)
CMYKcmyk(71%, 74.2%, 0%, 63.5%)
CIE-LABlab(13.69, 25.60, -40.62)
CIE-LCHlch(13.69, 48.02, 302.22°)
OKLaboklab(26.67% 0.0138 -0.1173)
OKLCHoklch(26.67% 0.118 276.7)
XYZxyz(2.7538, 1.6764, 10.5323)
Luminance0.0168 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B185D #5A5D18
analogous
#18375D #1B185D #3D185D
triadic
#1B185D #5D1B18 #185D1B
tetradic
#1B185D #5D1837 #5A5D18 #185D3D
square
#1B185D #5D1837 #5A5D18 #185D3D
split-complementary
#1B185D #5D3D18 #375D18
monochromatic
#070618 #0D0B2C #1B185D #29258E #3731BE

Accessibility & contrast

On white

15.73
#1B185D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#1B185D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B185D
15.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B185D#FFFFFF#000000##FFFFFF
##1B185D1.0015.731.3415.73
#FFFFFF15.731.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265F
Deuteranopia (green-blind)
#00205C
Tritanopia (blue-blind)
#002B38
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #1b185d;
/* rgb */ color: rgb(27, 24, 93);
/* oklch */ color: oklch(26.7% 0.118 276.7);
Tailwind
colors: {
  custom: {
    50: '#62558c',
    500: '#1b185d',
    950: '#000000',
  },
}
SCSS
$custom: #1b185d;
$custom-light: #62558c;
$custom-dark: #000000;
JSON
{
  "hex": "#1b185d",
  "rgb": {
    "r": 27,
    "g": 24,
    "b": 93
  },
  "hsl": {
    "h": 242.609,
    "s": 58.974,
    "l": 22.941
  },
  "oklch": {
    "l": 0.26674,
    "c": 0.11809,
    "h": 276.7
  },
  "luminance": 0.01677
}

Semantic roles & 50–950 ramp

primary
#1B185D
secondary
#90933D
accent
#E246DB
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #1B185D

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

Preview Lab → · Contrast checker → · Palette generator →

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