#1B146F#1B146F

#1B146F is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.1% C 0.147 H 274.8°. Best body text is #FFFFFF at 15.26:1 contrast (WCAG AA passes).

Color values

HEX#1B146F
RGBrgb(27, 20, 111)
HSLhsl(245, 69%, 26%)
HSVhsv(245, 82%, 44%)
CMYKcmyk(75.7%, 82%, 0%, 56.5%)
CIE-LABlab(14.85, 34.49, -50.59)
CIE-LCHlch(14.85, 61.23, 304.28°)
OKLaboklab(28.1% 0.0123 -0.1463)
OKLCHoklch(28.1% 0.147 274.8)
XYZxyz(3.5704, 1.8807, 15.2107)
Luminance0.0188 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B146F #686F14
analogous
#143A6F #1B146F #48146F
triadic
#1B146F #6F1B14 #146F1B
tetradic
#1B146F #6F143A #686F14 #146F48
square
#1B146F #6F143A #686F14 #146F48
split-complementary
#1B146F #6F4814 #3A6F14
monochromatic
#06051A #0E0B3B #1B146F #281DA3 #3427D7

Accessibility & contrast

On white

15.26
#1B146F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#1B146F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B146F
15.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B146F#FFFFFF#000000##FFFFFF
##1B146F1.0015.261.3815.26
#FFFFFF15.261.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002972
Deuteranopia (green-blind)
#00216D
Tritanopia (blue-blind)
#003041
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #1b146f;
/* rgb */ color: rgb(27, 20, 111);
/* oklch */ color: oklch(28.1% 0.147 274.8);
Tailwind
colors: {
  custom: {
    50: '#675499',
    500: '#1b146f',
    950: '#000000',
  },
}
SCSS
$custom: #1b146f;
$custom-light: #675499;
$custom-dark: #000000;
JSON
{
  "hex": "#1b146f",
  "rgb": {
    "r": 27,
    "g": 20,
    "b": 111
  },
  "hsl": {
    "h": 244.615,
    "s": 69.466,
    "l": 25.686
  },
  "oklch": {
    "l": 0.28103,
    "c": 0.14681,
    "h": 274.8
  },
  "luminance": 0.01881
}

Semantic roles & 50–950 ramp

primary
#1B146F
secondary
#9DA639
accent
#EC3CDF
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1B146F

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

Preview Lab → · Contrast checker → · Palette generator →

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