#1B196B#1B196B

#1B196B is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.4% C 0.136 H 274.4°. Best body text is #FFFFFF at 15.02:1 contrast (WCAG AA passes).

Color values

HEX#1B196B
RGBrgb(27, 25, 107)
HSLhsl(241, 62%, 26%)
HSVhsv(241, 77%, 42%)
CMYKcmyk(74.8%, 76.6%, 0%, 58%)
CIE-LABlab(15.43, 30.11, -47.01)
CIE-LCHlch(15.43, 55.83, 302.64°)
OKLaboklab(28.38% 0.0105 -0.1359)
OKLCHoklch(28.38% 0.136 274.4)
XYZxyz(3.4526, 1.9895, 14.1091)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B196B #696B19
analogous
#19406B #1B196B #44196B
triadic
#1B196B #6B1B19 #196B1B
tetradic
#1B196B #6B1940 #696B19 #196B44
square
#1B196B #6B1940 #696B19 #196B44
split-complementary
#1B196B #6B4419 #406B19
monochromatic
#060619 #0E0D39 #1B196B #28259D #3430CE

Accessibility & contrast

On white

15.02
#1B196B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B196B
15.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B196B#FFFFFF#000000##FFFFFF
##1B196B1.0015.021.4015.02
#FFFFFF15.021.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6D
Deuteranopia (green-blind)
#00236A
Tritanopia (blue-blind)
#003040
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #1b196b;
/* rgb */ color: rgb(27, 25, 107);
/* oklch */ color: oklch(28.4% 0.136 274.4);
Tailwind
colors: {
  custom: {
    50: '#655796',
    500: '#1b196b',
    950: '#000000',
  },
}
SCSS
$custom: #1b196b;
$custom-light: #655796;
$custom-dark: #000000;
JSON
{
  "hex": "#1b196b",
  "rgb": {
    "r": 27,
    "g": 25,
    "b": 107
  },
  "hsl": {
    "h": 241.463,
    "s": 62.121,
    "l": 25.882
  },
  "oklch": {
    "l": 0.28378,
    "c": 0.13636,
    "h": 274.4
  },
  "luminance": 0.0199
}

Semantic roles & 50–950 ramp

primary
#1B196B
secondary
#9EA13F
accent
#E543E1
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030D
muted
#7A787E

Preview Lab

Preview with #1B196B

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

Preview Lab → · Contrast checker → · Palette generator →

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