#193781#193781

#193781 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.3% C 0.130 H 264.2°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#193781
RGBrgb(25, 55, 129)
HSLhsl(223, 68%, 30%)
HSVhsv(223, 81%, 51%)
CMYKcmyk(80.6%, 57.4%, 0%, 49.4%)
CIE-LABlab(25.33, 17.88, -44.91)
CIE-LCHlch(25.33, 48.33, 291.71°)
OKLaboklab(36.27% -0.0132 -0.1296)
OKLCHoklch(36.27% 0.13 264.2)
XYZxyz(5.7281, 4.5234, 21.3358)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#193781 #816319
analogous
#196B81 #193781 #2F1981
triadic
#193781 #811937 #378119
tetradic
#193781 #81196B #816319 #19812F
square
#193781 #81196B #816319 #19812F
split-complementary
#193781 #812F19 #6B8119
monochromatic
#050B1A #0F214E #193781 #234DB4 #3B69D9

Accessibility & contrast

On white

11.02
#193781 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#193781 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #193781
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##193781#FFFFFF#000000##FFFFFF
##1937811.0011.021.9011.02
#FFFFFF11.021.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004184
Deuteranopia (green-blind)
#003780
Tritanopia (blue-blind)
#004956
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #193781;
/* rgb */ color: rgb(25, 55, 129);
/* oklch */ color: oklch(36.3% 0.130 264.2);
Tailwind
colors: {
  custom: {
    50: '#686da6',
    500: '#193781',
    950: '#000000',
  },
}
SCSS
$custom: #193781;
$custom-light: #686da6;
$custom-dark: #000000;
JSON
{
  "hex": "#193781",
  "rgb": {
    "r": 25,
    "g": 55,
    "b": 129
  },
  "hsl": {
    "h": 222.692,
    "s": 67.532,
    "l": 30.196
  },
  "oklch": {
    "l": 0.36273,
    "c": 0.13023,
    "h": 264.2
  },
  "luminance": 0.04524
}

Semantic roles & 50–950 ramp

primary
#193781
secondary
#B59341
accent
#B93DEA
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #193781

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

Preview Lab → · Contrast checker → · Palette generator →

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