#193877#193877

#193877 is a dark, moderate blue. Relative luminance 0.044; OKLCH L 35.7% C 0.114 H 262.5°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#193877
RGBrgb(25, 56, 119)
HSLhsl(220, 65%, 28%)
HSVhsv(220, 79%, 47%)
CMYKcmyk(79%, 52.9%, 0%, 53.3%)
CIE-LABlab(24.85, 13.06, -39.38)
CIE-LCHlch(24.85, 41.49, 288.35°)
OKLaboklab(35.66% -0.015 -0.1133)
OKLCHoklch(35.66% 0.114 262.5)
XYZxyz(5.1437, 4.3663, 18.0209)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#193877 #775819
analogous
#196777 #193877 #291977
triadic
#193877 #771938 #387719
tetradic
#193877 #771967 #775819 #197729
square
#193877 #771967 #775819 #197729
split-complementary
#193877 #772919 #677719
monochromatic
#050C19 #0E2044 #193877 #2450AA #366AD5

Accessibility & contrast

On white

11.21
#193877 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #193877
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##193877#FFFFFF#000000##FFFFFF
##1938771.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104079
Deuteranopia (green-blind)
#003776
Tritanopia (blue-blind)
#004752
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #193877;
/* rgb */ color: rgb(25, 56, 119);
/* oklch */ color: oklch(35.7% 0.114 262.5);
Tailwind
colors: {
  custom: {
    50: '#656e9f',
    500: '#193877',
    950: '#000000',
  },
}
SCSS
$custom: #193877;
$custom-light: #656e9f;
$custom-dark: #000000;
JSON
{
  "hex": "#193877",
  "rgb": {
    "r": 25,
    "g": 56,
    "b": 119
  },
  "hsl": {
    "h": 220.213,
    "s": 65.278,
    "l": 28.235
  },
  "oklch": {
    "l": 0.35659,
    "c": 0.11428,
    "h": 262.5
  },
  "luminance": 0.04367
}

Semantic roles & 50–950 ramp

primary
#193877
secondary
#AC8840
accent
#B140E8
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #193877

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

Preview Lab → · Contrast checker → · Palette generator →

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