#191852#191852

#191852 is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.4% C 0.102 H 277.0°. Best body text is #FFFFFF at 16.23:1 contrast (WCAG AA passes).

Color values

HEX#191852
RGBrgb(25, 24, 82)
HSLhsl(241, 55%, 21%)
HSVhsv(241, 71%, 32%)
CMYKcmyk(69.5%, 70.7%, 0%, 67.8%)
CIE-LABlab(12.41, 21.11, -35.29)
CIE-LCHlch(12.41, 41.12, 300.89°)
OKLaboklab(25.36% 0.0124 -0.1017)
OKLCHoklch(25.36% 0.102 277)
XYZxyz(2.2500, 1.4690, 8.1460)
Luminance0.0147 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#191852 #515218
analogous
#183452 #191852 #361852
triadic
#191852 #521918 #185219
tetradic
#191852 #521834 #515218 #185236
square
#191852 #521834 #515218 #185236
split-complementary
#191852 #523618 #345218
monochromatic
#070718 #0B0A23 #191852 #272681 #3634B1

Accessibility & contrast

On white

16.23
#191852 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#191852 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #191852
16.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##191852#FFFFFF#000000##FFFFFF
##1918521.0016.231.2916.23
#FFFFFF16.231.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002354
Deuteranopia (green-blind)
#001E51
Tritanopia (blue-blind)
#002732
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #191852;
/* rgb */ color: rgb(25, 24, 82);
/* oklch */ color: oklch(25.4% 0.102 277.0);
Tailwind
colors: {
  custom: {
    50: '#5e5583',
    500: '#191852',
    950: '#000000',
  },
}
SCSS
$custom: #191852;
$custom-light: #5e5583;
$custom-dark: #000000;
JSON
{
  "hex": "#191852",
  "rgb": {
    "r": 25,
    "g": 24,
    "b": 82
  },
  "hsl": {
    "h": 241.034,
    "s": 54.717,
    "l": 20.784
  },
  "oklch": {
    "l": 0.25364,
    "c": 0.10249,
    "h": 277
  },
  "luminance": 0.01469
}

Semantic roles & 50–950 ramp

primary
#191852
secondary
#87893D
accent
#DE4ADC
background
#F5F4F8
surface
#E9E8EF
border
#C5C4CA
text
#05030B
muted
#79787C

Preview Lab

Preview with #191852

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

Preview Lab → · Contrast checker → · Palette generator →

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