#193987#193987

#193987 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.2% C 0.136 H 264.0°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#193987
RGBrgb(25, 57, 135)
HSLhsl(223, 69%, 31%)
HSVhsv(223, 81%, 53%)
CMYKcmyk(81.5%, 57.8%, 0%, 47.1%)
CIE-LABlab(26.39, 18.92, -46.93)
CIE-LCHlch(26.39, 50.60, 291.96°)
OKLaboklab(37.23% -0.0142 -0.1355)
OKLCHoklch(37.23% 0.136 264)
XYZxyz(6.2356, 4.8815, 23.5305)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#193987 #876719
analogous
#197087 #193987 #301987
triadic
#193987 #871939 #398719
tetradic
#193987 #871970 #876719 #198730
square
#193987 #871970 #876719 #198730
split-complementary
#193987 #873019 #708719
monochromatic
#060D20 #0F2353 #193987 #234FBB #3F6CDB

Accessibility & contrast

On white

10.63
#193987 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#193987 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #193987
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##193987#FFFFFF#000000##FFFFFF
##1939871.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448A
Deuteranopia (green-blind)
#003A85
Tritanopia (blue-blind)
#004C5A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #193987;
/* rgb */ color: rgb(25, 57, 135);
/* oklch */ color: oklch(37.2% 0.136 264.0);
Tailwind
colors: {
  custom: {
    50: '#696eab',
    500: '#193987',
    950: '#000000',
  },
}
SCSS
$custom: #193987;
$custom-light: #696eab;
$custom-dark: #000000;
JSON
{
  "hex": "#193987",
  "rgb": {
    "r": 25,
    "g": 57,
    "b": 135
  },
  "hsl": {
    "h": 222.545,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.37228,
    "c": 0.1362,
    "h": 264
  },
  "luminance": 0.04882
}

Semantic roles & 50–950 ramp

primary
#193987
secondary
#BA9741
accent
#B93CEC
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #193987

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

Preview Lab → · Contrast checker → · Palette generator →

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