#193287#193287

#193287 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.8% C 0.145 H 266.3°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#193287
RGBrgb(25, 50, 135)
HSLhsl(226, 69%, 31%)
HSVhsv(226, 81%, 53%)
CMYKcmyk(81.5%, 63%, 0%, 47.1%)
CIE-LABlab(24.44, 23.82, -50.12)
CIE-LCHlch(24.44, 55.49, 295.42°)
OKLaboklab(35.76% -0.0094 -0.1449)
OKLCHoklch(35.76% 0.145 266.3)
XYZxyz(5.9131, 4.2365, 23.4230)
Luminance0.0424 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#193287 #876E19
analogous
#196987 #193287 #371987
triadic
#193287 #871932 #328719
tetradic
#193287 #871969 #876E19 #198737
square
#193287 #871969 #876E19 #198737
split-complementary
#193287 #873719 #698719
monochromatic
#060C20 #0F1F53 #193287 #2345BB #3F63DB

Accessibility & contrast

On white

11.37
#193287 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#193287 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #193287
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##193287#FFFFFF#000000##FFFFFF
##1932871.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8A
Deuteranopia (green-blind)
#003585
Tritanopia (blue-blind)
#004857
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #193287;
/* rgb */ color: rgb(25, 50, 135);
/* oklch */ color: oklch(35.8% 0.145 266.3);
Tailwind
colors: {
  custom: {
    50: '#6a69ab',
    500: '#193287',
    950: '#000000',
  },
}
SCSS
$custom: #193287;
$custom-light: #6a69ab;
$custom-dark: #000000;
JSON
{
  "hex": "#193287",
  "rgb": {
    "r": 25,
    "g": 50,
    "b": 135
  },
  "hsl": {
    "h": 226.364,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.35764,
    "c": 0.14525,
    "h": 266.3
  },
  "luminance": 0.04237
}

Semantic roles & 50–950 ramp

primary
#193287
secondary
#BA9F41
accent
#C43CEC
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070610
muted
#7A7A7F

Preview Lab

Preview with #193287

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

Preview Lab → · Contrast checker → · Palette generator →

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