#1B146C#1B146C

#1B146C is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.7% C 0.143 H 275.2°. Best body text is #FFFFFF at 15.40:1 contrast (WCAG AA passes).

Color values

HEX#1B146C
RGBrgb(27, 20, 108)
HSLhsl(245, 69%, 25%)
HSVhsv(245, 81%, 42%)
CMYKcmyk(75%, 81.5%, 0%, 57.6%)
CIE-LABlab(14.49, 33.46, -49.23)
CIE-LCHlch(14.49, 59.52, 304.20°)
OKLaboklab(27.74% 0.013 -0.1423)
OKLCHoklch(27.74% 0.143 275.2)
XYZxyz(3.4080, 1.8157, 14.3553)
Luminance0.0182 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B146C #656C14
analogous
#14396C #1B146C #47146C
triadic
#1B146C #6C1B14 #146C1B
tetradic
#1B146C #6C1439 #656C14 #146C47
square
#1B146C #6C1439 #656C14 #146C47
split-complementary
#1B146C #6C4714 #396C14
monochromatic
#06051A #0E0A38 #1B146C #281EA0 #3527D3

Accessibility & contrast

On white

15.40
#1B146C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B146C
15.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B146C#FFFFFF#000000##FFFFFF
##1B146C1.0015.401.3615.40
#FFFFFF15.401.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00286E
Deuteranopia (green-blind)
#00216A
Tritanopia (blue-blind)
#002E3F
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #1b146c;
/* rgb */ color: rgb(27, 20, 108);
/* oklch */ color: oklch(27.7% 0.143 275.2);
Tailwind
colors: {
  custom: {
    50: '#665497',
    500: '#1b146c',
    950: '#000000',
  },
}
SCSS
$custom: #1b146c;
$custom-light: #665497;
$custom-dark: #000000;
JSON
{
  "hex": "#1b146c",
  "rgb": {
    "r": 27,
    "g": 20,
    "b": 108
  },
  "hsl": {
    "h": 244.773,
    "s": 68.75,
    "l": 25.098
  },
  "oklch": {
    "l": 0.27745,
    "c": 0.14294,
    "h": 275.2
  },
  "luminance": 0.01816
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1B146C

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

Preview Lab → · Contrast checker → · Palette generator →

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