#1B196E#1B196E

#1B196E is a dark, vivid blue. Relative luminance 0.021; OKLCH L 28.7% C 0.140 H 274.1°. Best body text is #FFFFFF at 14.89:1 contrast (WCAG AA passes).

Color values

HEX#1B196E
RGBrgb(27, 25, 110)
HSLhsl(241, 63%, 26%)
HSVhsv(241, 77%, 43%)
CMYKcmyk(75.5%, 77.3%, 0%, 56.9%)
CIE-LABlab(15.77, 31.20, -48.42)
CIE-LCHlch(15.77, 57.60, 302.79°)
OKLaboklab(28.72% 0.0099 -0.14)
OKLCHoklch(28.72% 0.14 274.1)
XYZxyz(3.6132, 2.0537, 14.9548)
Luminance0.0205 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B196E #6C6E19
analogous
#19426E #1B196E #46196E
triadic
#1B196E #6E1B19 #196E1B
tetradic
#1B196E #6E1942 #6C6E19 #196E46
square
#1B196E #6E1942 #6C6E19 #196E46
split-complementary
#1B196E #6E4619 #426E19
monochromatic
#060619 #0F0E3C #1B196E #2724A0 #3531D0

Accessibility & contrast

On white

14.89
#1B196E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#1B196E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B196E
14.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B196E#FFFFFF#000000##FFFFFF
##1B196E1.0014.891.4114.89
#FFFFFF14.891.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B70
Deuteranopia (green-blind)
#00236C
Tritanopia (blue-blind)
#003142
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #1b196e;
/* rgb */ color: rgb(27, 25, 110);
/* oklch */ color: oklch(28.7% 0.140 274.1);
Tailwind
colors: {
  custom: {
    50: '#665799',
    500: '#1b196e',
    950: '#000000',
  },
}
SCSS
$custom: #1b196e;
$custom-light: #665799;
$custom-dark: #000000;
JSON
{
  "hex": "#1b196e",
  "rgb": {
    "r": 27,
    "g": 25,
    "b": 110
  },
  "hsl": {
    "h": 241.412,
    "s": 62.963,
    "l": 26.471
  },
  "oklch": {
    "l": 0.28716,
    "c": 0.1404,
    "h": 274.1
  },
  "luminance": 0.02054
}

Semantic roles & 50–950 ramp

primary
#1B196E
secondary
#A1A33F
accent
#E642E2
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1B196E

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

Preview Lab → · Contrast checker → · Palette generator →

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