#1B146A#1B146A

#1B146A is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.5% C 0.140 H 275.5°. Best body text is #FFFFFF at 15.50:1 contrast (WCAG AA passes).

Color values

HEX#1B146A
RGBrgb(27, 20, 106)
HSLhsl(245, 68%, 25%)
HSVhsv(245, 81%, 42%)
CMYKcmyk(74.5%, 81.1%, 0%, 58.4%)
CIE-LABlab(14.25, 32.77, -48.31)
CIE-LCHlch(14.25, 58.37, 304.15°)
OKLaboklab(27.51% 0.0136 -0.1397)
OKLCHoklch(27.51% 0.14 275.5)
XYZxyz(3.3028, 1.7736, 13.8012)
Luminance0.0177 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B146A #636A14
analogous
#14386A #1B146A #46146A
triadic
#1B146A #6A1B14 #146A1B
tetradic
#1B146A #6A1438 #636A14 #146A46
square
#1B146A #6A1438 #636A14 #146A46
split-complementary
#1B146A #6A4614 #386A14
monochromatic
#07051A #0E0A37 #1B146A #281E9D #3527D1

Accessibility & contrast

On white

15.50
#1B146A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#1B146A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B146A
15.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B146A#FFFFFF#000000##FFFFFF
##1B146A1.0015.501.3515.50
#FFFFFF15.501.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00286C
Deuteranopia (green-blind)
#002068
Tritanopia (blue-blind)
#002E3E
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #1b146a;
/* rgb */ color: rgb(27, 20, 106);
/* oklch */ color: oklch(27.5% 0.140 275.5);
Tailwind
colors: {
  custom: {
    50: '#665396',
    500: '#1b146a',
    950: '#000000',
  },
}
SCSS
$custom: #1b146a;
$custom-light: #665396;
$custom-dark: #000000;
JSON
{
  "hex": "#1b146a",
  "rgb": {
    "r": 27,
    "g": 20,
    "b": 106
  },
  "hsl": {
    "h": 244.884,
    "s": 68.254,
    "l": 24.706
  },
  "oklch": {
    "l": 0.27509,
    "c": 0.14033,
    "h": 275.5
  },
  "luminance": 0.01774
}

Semantic roles & 50–950 ramp

primary
#1B146A
secondary
#98A139
accent
#EB3DDD
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020D
muted
#7A787E

Preview Lab

Preview with #1B146A

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

Preview Lab → · Contrast checker → · Palette generator →

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