#1B196C#1B196C

#1B196C is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.5% C 0.138 H 274.3°. Best body text is #FFFFFF at 14.98:1 contrast (WCAG AA passes).

Color values

HEX#1B196C
RGBrgb(27, 25, 108)
HSLhsl(241, 62%, 26%)
HSVhsv(241, 77%, 42%)
CMYKcmyk(75%, 76.9%, 0%, 57.6%)
CIE-LABlab(15.54, 30.47, -47.48)
CIE-LCHlch(15.54, 56.42, 302.69°)
OKLaboklab(28.49% 0.0103 -0.1373)
OKLCHoklch(28.49% 0.138 274.3)
XYZxyz(3.5055, 2.0106, 14.3878)
Luminance0.0201 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B196C #6A6C19
analogous
#19406C #1B196C #44196C
triadic
#1B196C #6C1B19 #196C1B
tetradic
#1B196C #6C1940 #6A6C19 #196C44
square
#1B196C #6C1940 #6A6C19 #196C44
split-complementary
#1B196C #6C4419 #406C19
monochromatic
#060619 #0F0D3A #1B196C #27259E #3430CF

Accessibility & contrast

On white

14.98
#1B196C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#1B196C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B196C
14.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B196C#FFFFFF#000000##FFFFFF
##1B196C1.0014.981.4014.98
#FFFFFF14.981.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B6E
Deuteranopia (green-blind)
#00236B
Tritanopia (blue-blind)
#003141
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #1b196c;
/* rgb */ color: rgb(27, 25, 108);
/* oklch */ color: oklch(28.5% 0.138 274.3);
Tailwind
colors: {
  custom: {
    50: '#665797',
    500: '#1b196c',
    950: '#000000',
  },
}
SCSS
$custom: #1b196c;
$custom-light: #665797;
$custom-dark: #000000;
JSON
{
  "hex": "#1b196c",
  "rgb": {
    "r": 27,
    "g": 25,
    "b": 108
  },
  "hsl": {
    "h": 241.446,
    "s": 62.406,
    "l": 26.078
  },
  "oklch": {
    "l": 0.2849,
    "c": 0.13771,
    "h": 274.3
  },
  "luminance": 0.02011
}

Semantic roles & 50–950 ramp

primary
#1B196C
secondary
#9FA13F
accent
#E542E2
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1B196C

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

Preview Lab → · Contrast checker → · Palette generator →

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