#1B197A#1B197A

#1B197A is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.1% C 0.156 H 272.7°. Best body text is #FFFFFF at 14.32:1 contrast (WCAG AA passes).

Color values

HEX#1B197A
RGBrgb(27, 25, 122)
HSLhsl(241, 66%, 29%)
HSVhsv(241, 80%, 48%)
CMYKcmyk(77.9%, 79.5%, 0%, 52.2%)
CIE-LABlab(17.15, 35.45, -53.89)
CIE-LCHlch(17.15, 64.50, 303.34°)
OKLaboklab(30.1% 0.0074 -0.1559)
OKLCHoklch(30.1% 0.156 272.7)
XYZxyz(4.3113, 2.3330, 18.6317)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B197A #787A19
analogous
#19487A #1B197A #4C197A
triadic
#1B197A #7A1B19 #197A1B
tetradic
#1B197A #7A1948 #787A19 #197A4C
square
#1B197A #7A1948 #787A19 #197A4C
split-complementary
#1B197A #7A4C19 #487A19
monochromatic
#060519 #100F47 #1B197A #2623AD #3B37D6

Accessibility & contrast

On white

14.32
#1B197A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#1B197A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B197A
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B197A#FFFFFF#000000##FFFFFF
##1B197A1.0014.321.4714.32
#FFFFFF14.321.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F7D
Deuteranopia (green-blind)
#002578
Tritanopia (blue-blind)
#003649
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #1b197a;
/* rgb */ color: rgb(27, 25, 122);
/* oklch */ color: oklch(30.1% 0.156 272.7);
Tailwind
colors: {
  custom: {
    50: '#6957a2',
    500: '#1b197a',
    950: '#000000',
  },
}
SCSS
$custom: #1b197a;
$custom-light: #6957a2;
$custom-dark: #000000;
JSON
{
  "hex": "#1b197a",
  "rgb": {
    "r": 27,
    "g": 25,
    "b": 122
  },
  "hsl": {
    "h": 241.237,
    "s": 65.986,
    "l": 28.824
  },
  "oklch": {
    "l": 0.301,
    "c": 0.15613,
    "h": 272.7
  },
  "luminance": 0.02333
}

Semantic roles & 50–950 ramp

primary
#1B197A
secondary
#ACAF40
accent
#E93FE5
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07030F
muted
#7A787F

Preview Lab

Preview with #1B197A

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

Preview Lab → · Contrast checker → · Palette generator →

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