#1B146E#1B146E

#1B146E is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.0% C 0.146 H 274.9°. Best body text is #FFFFFF at 15.31:1 contrast (WCAG AA passes).

Color values

HEX#1B146E
RGBrgb(27, 20, 110)
HSLhsl(245, 69%, 25%)
HSVhsv(245, 82%, 43%)
CMYKcmyk(75.5%, 81.8%, 0%, 56.9%)
CIE-LABlab(14.73, 34.15, -50.14)
CIE-LCHlch(14.73, 60.66, 304.26°)
OKLaboklab(27.98% 0.0125 -0.145)
OKLCHoklch(27.98% 0.146 274.9)
XYZxyz(3.5157, 1.8588, 14.9223)
Luminance0.0186 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B146E #676E14
analogous
#143A6E #1B146E #48146E
triadic
#1B146E #6E1B14 #146E1B
tetradic
#1B146E #6E143A #676E14 #146E48
square
#1B146E #6E143A #676E14 #146E48
split-complementary
#1B146E #6E4814 #3A6E14
monochromatic
#06051A #0E0B3A #1B146E #281DA2 #3427D6

Accessibility & contrast

On white

15.31
#1B146E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#1B146E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B146E
15.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B146E#FFFFFF#000000##FFFFFF
##1B146E1.0015.311.3715.31
#FFFFFF15.311.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002971
Deuteranopia (green-blind)
#00216C
Tritanopia (blue-blind)
#002F41
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #1b146e;
/* rgb */ color: rgb(27, 20, 110);
/* oklch */ color: oklch(28.0% 0.146 274.9);
Tailwind
colors: {
  custom: {
    50: '#675499',
    500: '#1b146e',
    950: '#000000',
  },
}
SCSS
$custom: #1b146e;
$custom-light: #675499;
$custom-dark: #000000;
JSON
{
  "hex": "#1b146e",
  "rgb": {
    "r": 27,
    "g": 20,
    "b": 110
  },
  "hsl": {
    "h": 244.667,
    "s": 69.231,
    "l": 25.49
  },
  "oklch": {
    "l": 0.27983,
    "c": 0.14553,
    "h": 274.9
  },
  "luminance": 0.01859
}

Semantic roles & 50–950 ramp

primary
#1B146E
secondary
#9CA539
accent
#EC3CDE
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1B146E

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

Preview Lab → · Contrast checker → · Palette generator →

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