#193271#193271

#193271 is a dark, moderate blue. Relative luminance 0.037; OKLCH L 33.8% C 0.113 H 264.7°. Best body text is #FFFFFF at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#193271
RGBrgb(25, 50, 113)
HSLhsl(223, 64%, 27%)
HSVhsv(223, 78%, 44%)
CMYKcmyk(77.9%, 55.8%, 0%, 55.7%)
CIE-LABlab(22.58, 14.86, -39.22)
CIE-LCHlch(22.58, 41.94, 290.75°)
OKLaboklab(33.79% -0.0105 -0.1129)
OKLCHoklch(33.79% 0.113 264.7)
XYZxyz(4.5211, 3.6796, 16.0916)
Luminance0.0368 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#193271 #715819
analogous
#195E71 #193271 #2C1971
triadic
#193271 #711932 #327119
tetradic
#193271 #71195E #715819 #19712C
square
#193271 #71195E #715819 #19712C
split-complementary
#193271 #712C19 #5E7119
monochromatic
#060B19 #0E1C3F #193271 #2448A3 #3360D2

Accessibility & contrast

On white

12.10
#193271 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#193271 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #193271
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##193271#FFFFFF#000000##FFFFFF
##1932711.0012.101.7412.10
#FFFFFF12.101.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#043A73
Deuteranopia (green-blind)
#003270
Tritanopia (blue-blind)
#00414C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #193271;
/* rgb */ color: rgb(25, 50, 113);
/* oklch */ color: oklch(33.8% 0.113 264.7);
Tailwind
colors: {
  custom: {
    50: '#64699a',
    500: '#193271',
    950: '#000000',
  },
}
SCSS
$custom: #193271;
$custom-light: #64699a;
$custom-dark: #000000;
JSON
{
  "hex": "#193271",
  "rgb": {
    "r": 25,
    "g": 50,
    "b": 113
  },
  "hsl": {
    "h": 222.955,
    "s": 63.768,
    "l": 27.059
  },
  "oklch": {
    "l": 0.33791,
    "c": 0.11342,
    "h": 264.7
  },
  "luminance": 0.0368
}

Semantic roles & 50–950 ramp

primary
#193271
secondary
#A68940
accent
#B841E7
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #193271

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

Preview Lab → · Contrast checker → · Palette generator →

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