#191F40#191F40

#191F40 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.3% C 0.063 H 273.4°. Best body text is #FFFFFF at 16.01:1 contrast (WCAG AA passes).

Color values

HEX#191F40
RGBrgb(25, 31, 64)
HSLhsl(231, 44%, 17%)
HSVhsv(231, 61%, 25%)
CMYKcmyk(60.9%, 51.6%, 0%, 74.9%)
CIE-LABlab(12.96, 8.82, -21.94)
CIE-LCHlch(12.96, 23.65, 291.91°)
OKLaboklab(25.3% 0.0037 -0.0624)
OKLCHoklch(25.3% 0.063 273.4)
XYZxyz(1.8160, 1.5567, 5.0543)
Luminance0.0156 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#191F40 #403A19
analogous
#193340 #191F40 #261940
triadic
#191F40 #40191F #1F4019
tetradic
#191F40 #401933 #403A19 #194026
square
#191F40 #401933 #403A19 #194026
split-complementary
#191F40 #402619 #334019
monochromatic
#090B16 #090B16 #191F40 #2A346C #3B4A98

Accessibility & contrast

On white

16.01
#191F40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#191F40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #191F40
16.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##191F40#FFFFFF#000000##FFFFFF
##191F401.0016.011.3116.01
#FFFFFF16.011.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#112341
Deuteranopia (green-blind)
#0C203F
Tritanopia (blue-blind)
#07262C
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #191f40;
/* rgb */ color: rgb(25, 31, 64);
/* oklch */ color: oklch(25.3% 0.063 273.4);
Tailwind
colors: {
  custom: {
    50: '#595a75',
    500: '#191f40',
    950: '#000000',
  },
}
SCSS
$custom: #191f40;
$custom-light: #595a75;
$custom-dark: #000000;
JSON
{
  "hex": "#191f40",
  "rgb": {
    "r": 25,
    "g": 31,
    "b": 64
  },
  "hsl": {
    "h": 230.769,
    "s": 43.82,
    "l": 17.451
  },
  "oklch": {
    "l": 0.25299,
    "c": 0.06253,
    "h": 273.4
  },
  "luminance": 0.01557
}

Semantic roles & 50–950 ramp

primary
#191F40
secondary
#766E3F
accent
#C054D4
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#040308
muted
#79787B

Preview Lab

Preview with #191F40

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

Preview Lab → · Contrast checker → · Palette generator →

#191F40 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva