#193387#193387

#193387 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.0% C 0.144 H 266.0°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#193387
RGBrgb(25, 51, 135)
HSLhsl(226, 69%, 31%)
HSVhsv(226, 81%, 53%)
CMYKcmyk(81.5%, 62.2%, 0%, 47.1%)
CIE-LABlab(24.71, 23.12, -49.67)
CIE-LCHlch(24.71, 54.79, 294.96°)
OKLaboklab(35.97% -0.0101 -0.1436)
OKLCHoklch(35.97% 0.144 266)
XYZxyz(5.9564, 4.3229, 23.4375)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#193387 #876D19
analogous
#196A87 #193387 #361987
triadic
#193387 #871933 #338719
tetradic
#193387 #87196A #876D19 #198736
square
#193387 #87196A #876D19 #198736
split-complementary
#193387 #873619 #6A8719
monochromatic
#060C20 #0F1F53 #193387 #2347BB #3F64DB

Accessibility & contrast

On white

11.26
#193387 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#193387 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #193387
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##193387#FFFFFF#000000##FFFFFF
##1933871.0011.261.8611.26
#FFFFFF11.261.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408A
Deuteranopia (green-blind)
#003685
Tritanopia (blue-blind)
#004958
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #193387;
/* rgb */ color: rgb(25, 51, 135);
/* oklch */ color: oklch(36.0% 0.144 266.0);
Tailwind
colors: {
  custom: {
    50: '#6a6aab',
    500: '#193387',
    950: '#000000',
  },
}
SCSS
$custom: #193387;
$custom-light: #6a6aab;
$custom-dark: #000000;
JSON
{
  "hex": "#193387",
  "rgb": {
    "r": 25,
    "g": 51,
    "b": 135
  },
  "hsl": {
    "h": 225.818,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.35967,
    "c": 0.14396,
    "h": 266
  },
  "luminance": 0.04324
}

Semantic roles & 50–950 ramp

primary
#193387
secondary
#BA9E41
accent
#C23CEC
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070610
muted
#7A7A7F

Preview Lab

Preview with #193387

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

Preview Lab → · Contrast checker → · Palette generator →

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