#192151#192151

#192151 is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.2% C 0.088 H 272.1°. Best body text is #FFFFFF at 15.24:1 contrast (WCAG AA passes).

Color values

HEX#192151
RGBrgb(25, 33, 81)
HSLhsl(231, 53%, 21%)
HSVhsv(231, 69%, 32%)
CMYKcmyk(69.1%, 59.3%, 0%, 68.2%)
CIE-LABlab(14.89, 14.14, -30.58)
CIE-LCHlch(14.89, 33.69, 294.82°)
OKLaboklab(27.17% 0.0032 -0.0878)
OKLCHoklch(27.17% 0.088 272.1)
XYZxyz(2.4295, 1.8883, 8.0194)
Luminance0.0189 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#192151 #514919
analogous
#193D51 #192151 #2D1951
triadic
#192151 #511921 #215119
tetradic
#192151 #51193D #514919 #19512D
square
#192151 #51193D #514919 #19512D
split-complementary
#192151 #512D19 #3D5119
monochromatic
#070A17 #0B0E22 #192151 #273480 #3647AF

Accessibility & contrast

On white

15.24
#192151 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#192151 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #192151
15.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##192151#FFFFFF#000000##FFFFFF
##1921511.0015.241.3815.24
#FFFFFF15.241.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#022853
Deuteranopia (green-blind)
#002350
Tritanopia (blue-blind)
#002C35
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #192151;
/* rgb */ color: rgb(25, 33, 81);
/* oklch */ color: oklch(27.2% 0.088 272.1);
Tailwind
colors: {
  custom: {
    50: '#5d5c82',
    500: '#192151',
    950: '#000000',
  },
}
SCSS
$custom: #192151;
$custom-light: #5d5c82;
$custom-dark: #000000;
JSON
{
  "hex": "#192151",
  "rgb": {
    "r": 25,
    "g": 33,
    "b": 81
  },
  "hsl": {
    "h": 231.429,
    "s": 52.83,
    "l": 20.784
  },
  "oklch": {
    "l": 0.27172,
    "c": 0.08785,
    "h": 272.1
  },
  "luminance": 0.01888
}

Semantic roles & 50–950 ramp

primary
#192151
secondary
#877D3E
accent
#C84CDC
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040A
muted
#79797C

Preview Lab

Preview with #192151

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

Preview Lab → · Contrast checker → · Palette generator →

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