#192142#192142

#192142 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 25.9% C 0.063 H 271.2°. Best body text is #FFFFFF at 15.70:1 contrast (WCAG AA passes).

Color values

HEX#192142
RGBrgb(25, 33, 66)
HSLhsl(228, 45%, 18%)
HSVhsv(228, 62%, 26%)
CMYKcmyk(62.1%, 50%, 0%, 74.1%)
CIE-LABlab(13.75, 8.11, -22.08)
CIE-LCHlch(13.75, 23.52, 290.16°)
OKLaboklab(25.95% 0.0013 -0.0628)
OKLCHoklch(25.95% 0.063 271.2)
XYZxyz(1.9278, 1.6876, 5.3774)
Luminance0.0169 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#192142 #423A19
analogous
#193542 #192142 #251942
triadic
#192142 #421921 #214219
tetradic
#192142 #421935 #423A19 #194225
square
#192142 #421935 #423A19 #194225
split-complementary
#192142 #422519 #354219
monochromatic
#080B16 #080B16 #192142 #2A376E #3B4D9B

Accessibility & contrast

On white

15.70
#192142 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#192142 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #192142
15.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##192142#FFFFFF#000000##FFFFFF
##1921421.0015.701.3415.70
#FFFFFF15.701.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132543
Deuteranopia (green-blind)
#0E2141
Tritanopia (blue-blind)
#04282E
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #192142;
/* rgb */ color: rgb(25, 33, 66);
/* oklch */ color: oklch(25.9% 0.063 271.2);
Tailwind
colors: {
  custom: {
    50: '#5a5b76',
    500: '#192142',
    950: '#000000',
  },
}
SCSS
$custom: #192142;
$custom-light: #5a5b76;
$custom-dark: #000000;
JSON
{
  "hex": "#192142",
  "rgb": {
    "r": 25,
    "g": 33,
    "b": 66
  },
  "hsl": {
    "h": 228.293,
    "s": 45.055,
    "l": 17.843
  },
  "oklch": {
    "l": 0.25947,
    "c": 0.06281,
    "h": 271.2
  },
  "luminance": 0.01688
}

Semantic roles & 50–950 ramp

primary
#192142
secondary
#786D3F
accent
#BB53D5
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#040408
muted
#79797B

Preview Lab

Preview with #192142

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

Preview Lab → · Contrast checker → · Palette generator →

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