#192271#192271

#192271 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.5% C 0.135 H 270.7°. Best body text is #FFFFFF at 13.92:1 contrast (WCAG AA passes).

Color values

HEX#192271
RGBrgb(25, 34, 113)
HSLhsl(234, 64%, 27%)
HSVhsv(234, 78%, 44%)
CMYKcmyk(77.9%, 69.9%, 0%, 55.7%)
CIE-LABlab(18.11, 26.20, -46.51)
CIE-LCHlch(18.11, 53.39, 299.39°)
OKLaboklab(30.46% 0.0016 -0.1345)
OKLCHoklch(30.46% 0.135 270.7)
XYZxyz(3.9526, 2.5426, 15.9020)
Luminance0.0254 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#192271 #716819
analogous
#194E71 #192271 #3C1971
triadic
#192271 #711922 #227119
tetradic
#192271 #71194E #716819 #19713C
square
#192271 #71194E #716819 #19713C
split-complementary
#192271 #713C19 #4E7119
monochromatic
#060819 #0E133F #192271 #2431A3 #3343D2

Accessibility & contrast

On white

13.92
#192271 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#192271 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #192271
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##192271#FFFFFF#000000##FFFFFF
##1922711.0013.921.5113.92
#FFFFFF13.921.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003073
Deuteranopia (green-blind)
#002870
Tritanopia (blue-blind)
#003746
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #192271;
/* rgb */ color: rgb(25, 34, 113);
/* oklch */ color: oklch(30.5% 0.135 270.7);
Tailwind
colors: {
  custom: {
    50: '#655d9b',
    500: '#192271',
    950: '#000000',
  },
}
SCSS
$custom: #192271;
$custom-light: #655d9b;
$custom-dark: #000000;
JSON
{
  "hex": "#192271",
  "rgb": {
    "r": 25,
    "g": 34,
    "b": 113
  },
  "hsl": {
    "h": 233.864,
    "s": 63.768,
    "l": 27.059
  },
  "oklch": {
    "l": 0.30464,
    "c": 0.13455,
    "h": 270.7
  },
  "luminance": 0.02543
}

Semantic roles & 50–950 ramp

primary
#192271
secondary
#A69C40
accent
#D641E7
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #192271

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

Preview Lab → · Contrast checker → · Palette generator →

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