#192040#192040

#192040 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.5% C 0.061 H 272.2°. Best body text is #FFFFFF at 15.89:1 contrast (WCAG AA passes).

Color values

HEX#192040
RGBrgb(25, 32, 64)
HSLhsl(229, 44%, 17%)
HSVhsv(229, 61%, 25%)
CMYKcmyk(60.9%, 50%, 0%, 74.9%)
CIE-LABlab(13.29, 8.07, -21.42)
CIE-LCHlch(13.29, 22.89, 290.64°)
OKLaboklab(25.55% 0.0023 -0.0609)
OKLCHoklch(25.55% 0.061 272.2)
XYZxyz(1.8425, 1.6097, 5.0631)
Luminance0.0161 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#192040 #403919
analogous
#193340 #192040 #261940
triadic
#192040 #401920 #204019
tetradic
#192040 #401933 #403919 #194026
square
#192040 #401933 #403919 #194026
split-complementary
#192040 #402619 #334019
monochromatic
#090B16 #090B16 #192040 #2A366C #3B4C98

Accessibility & contrast

On white

15.89
#192040 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#192040 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #192040
15.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##192040#FFFFFF#000000##FFFFFF
##1920401.0015.891.3215.89
#FFFFFF15.891.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122441
Deuteranopia (green-blind)
#0E213F
Tritanopia (blue-blind)
#06272C
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #192040;
/* rgb */ color: rgb(25, 32, 64);
/* oklch */ color: oklch(25.5% 0.061 272.2);
Tailwind
colors: {
  custom: {
    50: '#595b75',
    500: '#192040',
    950: '#000000',
  },
}
SCSS
$custom: #192040;
$custom-light: #595b75;
$custom-dark: #000000;
JSON
{
  "hex": "#192040",
  "rgb": {
    "r": 25,
    "g": 32,
    "b": 64
  },
  "hsl": {
    "h": 229.231,
    "s": 43.82,
    "l": 17.451
  },
  "oklch": {
    "l": 0.25547,
    "c": 0.06092,
    "h": 272.2
  },
  "luminance": 0.0161
}

Semantic roles & 50–950 ramp

primary
#192040
secondary
#766C3F
accent
#BD54D4
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#040408
muted
#79797B

Preview Lab

Preview with #192040

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

Preview Lab → · Contrast checker → · Palette generator →

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