#193381#193381

#193381 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.4% C 0.135 H 265.7°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#193381
RGBrgb(25, 51, 129)
HSLhsl(225, 68%, 30%)
HSVhsv(225, 81%, 51%)
CMYKcmyk(80.6%, 60.5%, 0%, 49.4%)
CIE-LABlab(24.19, 20.70, -46.76)
CIE-LCHlch(24.19, 51.14, 293.88°)
OKLaboklab(35.42% -0.0102 -0.1351)
OKLCHoklch(35.42% 0.135 265.7)
XYZxyz(5.5458, 4.1587, 21.2750)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#193381 #816719
analogous
#196781 #193381 #331981
triadic
#193381 #811933 #338119
tetradic
#193381 #811967 #816719 #198133
square
#193381 #811967 #816719 #198133
split-complementary
#193381 #813319 #678119
monochromatic
#050A1A #0F1F4E #193381 #2347B4 #3B63D9

Accessibility & contrast

On white

11.46
#193381 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#193381 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #193381
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##193381#FFFFFF#000000##FFFFFF
##1933811.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E84
Deuteranopia (green-blind)
#00357F
Tritanopia (blue-blind)
#004754
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #193381;
/* rgb */ color: rgb(25, 51, 129);
/* oklch */ color: oklch(35.4% 0.135 265.7);
Tailwind
colors: {
  custom: {
    50: '#686aa6',
    500: '#193381',
    950: '#000000',
  },
}
SCSS
$custom: #193381;
$custom-light: #686aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#193381",
  "rgb": {
    "r": 25,
    "g": 51,
    "b": 129
  },
  "hsl": {
    "h": 225,
    "s": 67.532,
    "l": 30.196
  },
  "oklch": {
    "l": 0.35415,
    "c": 0.13548,
    "h": 265.7
  },
  "luminance": 0.04159
}

Semantic roles & 50–950 ramp

primary
#193381
secondary
#B59841
accent
#BF3DEA
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #193381

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

Preview Lab → · Contrast checker → · Palette generator →

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