#191840#191840

#191840 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.7% C 0.074 H 280.2°. Best body text is #FFFFFF at 16.85:1 contrast (WCAG AA passes).

Color values

HEX#191840
RGBrgb(25, 24, 64)
HSLhsl(242, 45%, 17%)
HSVhsv(242, 63%, 25%)
CMYKcmyk(60.9%, 62.5%, 0%, 74.9%)
CIE-LABlab(10.78, 14.12, -25.45)
CIE-LCHlch(10.78, 29.11, 299.02°)
OKLaboklab(23.65% 0.0132 -0.0728)
OKLCHoklch(23.65% 0.074 280.2)
XYZxyz(1.6527, 1.2300, 4.9998)
Luminance0.0123 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#191840 #3F4018
analogous
#182B40 #191840 #2D1840
triadic
#191840 #401918 #184019
tetradic
#191840 #40182B #3F4018 #18402D
square
#191840 #40182B #3F4018 #18402D
split-complementary
#191840 #402D18 #2B4018
monochromatic
#090816 #090816 #191840 #2A296D #3C3999

Accessibility & contrast

On white

16.85
#191840 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#191840 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #191840
16.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##191840#FFFFFF#000000##FFFFFF
##1918401.0016.851.2516.85
#FFFFFF16.851.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021F41
Deuteranopia (green-blind)
#001C3F
Tritanopia (blue-blind)
#082129
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #191840;
/* rgb */ color: rgb(25, 24, 64);
/* oklch */ color: oklch(23.7% 0.074 280.2);
Tailwind
colors: {
  custom: {
    50: '#5a5475',
    500: '#191840',
    950: '#000000',
  },
}
SCSS
$custom: #191840;
$custom-light: #5a5475;
$custom-dark: #000000;
JSON
{
  "hex": "#191840",
  "rgb": {
    "r": 25,
    "g": 24,
    "b": 64
  },
  "hsl": {
    "h": 241.5,
    "s": 45.455,
    "l": 17.255
  },
  "oklch": {
    "l": 0.23651,
    "c": 0.07399,
    "h": 280.2
  },
  "luminance": 0.0123
}

Semantic roles & 50–950 ramp

primary
#191840
secondary
#75773D
accent
#D553D2
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040208
muted
#79787B

Preview Lab

Preview with #191840

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

Preview Lab → · Contrast checker → · Palette generator →

#191840 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva