#193971#193971

#193971 is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.4% C 0.104 H 260.7°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#193971
RGBrgb(25, 57, 113)
HSLhsl(218, 64%, 27%)
HSVhsv(218, 78%, 44%)
CMYKcmyk(77.9%, 49.6%, 0%, 55.7%)
CIE-LABlab(24.72, 9.87, -35.77)
CIE-LCHlch(24.72, 37.11, 285.42°)
OKLaboklab(35.42% -0.0168 -0.1027)
OKLCHoklch(35.42% 0.104 260.7)
XYZxyz(4.8436, 4.3246, 16.1991)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#193971 #715119
analogous
#196571 #193971 #251971
triadic
#193971 #711939 #397119
tetradic
#193971 #711965 #715119 #197125
square
#193971 #711965 #715119 #197125
split-complementary
#193971 #712519 #657119
monochromatic
#060D19 #0E203F #193971 #2452A3 #336CD2

Accessibility & contrast

On white

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

On black

1.87
#193971 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##193971#FFFFFF#000000##FFFFFF
##1939711.0011.261.8711.26
#FFFFFF11.261.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3F73
Deuteranopia (green-blind)
#043770
Tritanopia (blue-blind)
#00464F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #193971;
/* rgb */ color: rgb(25, 57, 113);
/* oklch */ color: oklch(35.4% 0.104 260.7);
Tailwind
colors: {
  custom: {
    50: '#636e9a',
    500: '#193971',
    950: '#000000',
  },
}
SCSS
$custom: #193971;
$custom-light: #636e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#193971",
  "rgb": {
    "r": 25,
    "g": 57,
    "b": 113
  },
  "hsl": {
    "h": 218.182,
    "s": 63.768,
    "l": 27.059
  },
  "oklch": {
    "l": 0.3542,
    "c": 0.10403,
    "h": 260.7
  },
  "luminance": 0.04325
}

Semantic roles & 50–950 ramp

primary
#193971
secondary
#A68140
accent
#AB41E7
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #193971

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

Preview Lab → · Contrast checker → · Palette generator →

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