#1B197E#1B197E

#1B197E is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.6% C 0.161 H 272.3°. Best body text is #FFFFFF at 14.12:1 contrast (WCAG AA passes).

Color values

HEX#1B197E
RGBrgb(27, 25, 126)
HSLhsl(241, 67%, 30%)
HSVhsv(241, 80%, 49%)
CMYKcmyk(78.6%, 80.2%, 0%, 50.6%)
CIE-LABlab(17.62, 36.83, -55.66)
CIE-LCHlch(17.62, 66.74, 303.50°)
OKLaboklab(30.57% 0.0065 -0.1611)
OKLCHoklch(30.57% 0.161 272.3)
XYZxyz(4.5643, 2.4341, 19.9639)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B197E #7C7E19
analogous
#194A7E #1B197E #4E197E
triadic
#1B197E #7E1B19 #197E1B
tetradic
#1B197E #7E194A #7C7E19 #197E4E
square
#1B197E #7E194A #7C7E19 #197E4E
split-complementary
#1B197E #7E4E19 #4A7E19
monochromatic
#05051A #100F4B #1B197E #2623B1 #3D3AD8

Accessibility & contrast

On white

14.12
#1B197E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#1B197E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B197E
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B197E#FFFFFF#000000##FFFFFF
##1B197E1.0014.121.4914.12
#FFFFFF14.121.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003081
Deuteranopia (green-blind)
#00267C
Tritanopia (blue-blind)
#00384B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #1b197e;
/* rgb */ color: rgb(27, 25, 126);
/* oklch */ color: oklch(30.6% 0.161 272.3);
Tailwind
colors: {
  custom: {
    50: '#6a58a5',
    500: '#1b197e',
    950: '#000000',
  },
}
SCSS
$custom: #1b197e;
$custom-light: #6a58a5;
$custom-dark: #000000;
JSON
{
  "hex": "#1b197e",
  "rgb": {
    "r": 27,
    "g": 25,
    "b": 126
  },
  "hsl": {
    "h": 241.188,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.30571,
    "c": 0.16122,
    "h": 272.3
  },
  "luminance": 0.02435
}

Semantic roles & 50–950 ramp

primary
#1B197E
secondary
#B0B241
accent
#EA3EE6
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F

Preview Lab

Preview with #1B197E

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

Preview Lab → · Contrast checker → · Palette generator →

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