#1B146B#1B146B

#1B146B is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.6% C 0.142 H 275.4°. Best body text is #FFFFFF at 15.45:1 contrast (WCAG AA passes).

Color values

HEX#1B146B
RGBrgb(27, 20, 107)
HSLhsl(245, 69%, 25%)
HSVhsv(245, 81%, 42%)
CMYKcmyk(74.8%, 81.3%, 0%, 58%)
CIE-LABlab(14.37, 33.11, -48.77)
CIE-LCHlch(14.37, 58.95, 304.18°)
OKLaboklab(27.63% 0.0133 -0.141)
OKLCHoklch(27.63% 0.142 275.4)
XYZxyz(3.3551, 1.7945, 14.0766)
Luminance0.0180 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B146B #646B14
analogous
#14386B #1B146B #47146B
triadic
#1B146B #6B1B14 #146B1B
tetradic
#1B146B #6B1438 #646B14 #146B47
square
#1B146B #6B1438 #646B14 #146B47
split-complementary
#1B146B #6B4714 #386B14
monochromatic
#07051A #0E0A37 #1B146B #281E9F #3527D2

Accessibility & contrast

On white

15.45
#1B146B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#1B146B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B146B
15.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B146B#FFFFFF#000000##FFFFFF
##1B146B1.0015.451.3615.45
#FFFFFF15.451.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00286D
Deuteranopia (green-blind)
#002069
Tritanopia (blue-blind)
#002E3F
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #1b146b;
/* rgb */ color: rgb(27, 20, 107);
/* oklch */ color: oklch(27.6% 0.142 275.4);
Tailwind
colors: {
  custom: {
    50: '#665396',
    500: '#1b146b',
    950: '#000000',
  },
}
SCSS
$custom: #1b146b;
$custom-light: #665396;
$custom-dark: #000000;
JSON
{
  "hex": "#1b146b",
  "rgb": {
    "r": 27,
    "g": 20,
    "b": 107
  },
  "hsl": {
    "h": 244.828,
    "s": 68.504,
    "l": 24.902
  },
  "oklch": {
    "l": 0.27627,
    "c": 0.14164,
    "h": 275.4
  },
  "luminance": 0.01795
}

Semantic roles & 50–950 ramp

primary
#1B146B
secondary
#99A239
accent
#EB3CDD
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07030D
muted
#7A787E

Preview Lab

Preview with #1B146B

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

Preview Lab → · Contrast checker → · Palette generator →

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