#192042#192042

#192042 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.7% C 0.064 H 272.4°. Best body text is #FFFFFF at 15.83:1 contrast (WCAG AA passes).

Color values

HEX#192042
RGBrgb(25, 32, 66)
HSLhsl(230, 45%, 18%)
HSVhsv(230, 62%, 26%)
CMYKcmyk(62.1%, 51.5%, 0%, 74.1%)
CIE-LABlab(13.43, 8.86, -22.60)
CIE-LCHlch(13.43, 24.27, 291.41°)
OKLaboklab(25.7% 0.0027 -0.0643)
OKLCHoklch(25.7% 0.064 272.4)
XYZxyz(1.9005, 1.6329, 5.3682)
Luminance0.0163 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#192042 #423B19
analogous
#193442 #192042 #261942
triadic
#192042 #421920 #204219
tetradic
#192042 #421934 #423B19 #194226
square
#192042 #421934 #423B19 #194226
split-complementary
#192042 #422619 #344219
monochromatic
#080B16 #080B16 #192042 #2A366E #3B4B9B

Accessibility & contrast

On white

15.83
#192042 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#192042 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #192042
15.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##192042#FFFFFF#000000##FFFFFF
##1920421.0015.831.3315.83
#FFFFFF15.831.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#112443
Deuteranopia (green-blind)
#0C2141
Tritanopia (blue-blind)
#04272D
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #192042;
/* rgb */ color: rgb(25, 32, 66);
/* oklch */ color: oklch(25.7% 0.064 272.4);
Tailwind
colors: {
  custom: {
    50: '#5a5b76',
    500: '#192042',
    950: '#000000',
  },
}
SCSS
$custom: #192042;
$custom-light: #5a5b76;
$custom-dark: #000000;
JSON
{
  "hex": "#192042",
  "rgb": {
    "r": 25,
    "g": 32,
    "b": 66
  },
  "hsl": {
    "h": 229.756,
    "s": 45.055,
    "l": 17.843
  },
  "oklch": {
    "l": 0.25699,
    "c": 0.06439,
    "h": 272.4
  },
  "luminance": 0.01633
}

Semantic roles & 50–950 ramp

primary
#192042
secondary
#786E3F
accent
#BF53D5
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#040408
muted
#79797B

Preview Lab

Preview with #192042

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

Preview Lab → · Contrast checker → · Palette generator →

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