#191F4F#191F4F

#191F4F is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.5% C 0.088 H 273.5°. Best body text is #FFFFFF at 15.55:1 contrast (WCAG AA passes).

Color values

HEX#191F4F
RGBrgb(25, 31, 79)
HSLhsl(233, 52%, 20%)
HSVhsv(233, 68%, 31%)
CMYKcmyk(68.4%, 60.8%, 0%, 69%)
CIE-LABlab(14.12, 14.82, -30.46)
CIE-LCHlch(14.12, 33.87, 295.95°)
OKLaboklab(26.54% 0.0053 -0.0875)
OKLCHoklch(26.54% 0.088 273.5)
XYZxyz(2.3017, 1.7510, 7.6123)
Luminance0.0175 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#191F4F #4F4919
analogous
#193A4F #191F4F #2E194F
triadic
#191F4F #4F191F #1F4F19
tetradic
#191F4F #4F193A #4F4919 #194F2E
square
#191F4F #4F193A #4F4919 #194F2E
split-complementary
#191F4F #4F2E19 #3A4F19
monochromatic
#070917 #0A0D21 #191F4F #28317D #3643AC

Accessibility & contrast

On white

15.55
#191F4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#191F4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #191F4F
15.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##191F4F#FFFFFF#000000##FFFFFF
##191F4F1.0015.551.3515.55
#FFFFFF15.551.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002651
Deuteranopia (green-blind)
#00224E
Tritanopia (blue-blind)
#002A33
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #191f4f;
/* rgb */ color: rgb(25, 31, 79);
/* oklch */ color: oklch(26.5% 0.088 273.5);
Tailwind
colors: {
  custom: {
    50: '#5d5a81',
    500: '#191f4f',
    950: '#000000',
  },
}
SCSS
$custom: #191f4f;
$custom-light: #5d5a81;
$custom-dark: #000000;
JSON
{
  "hex": "#191f4f",
  "rgb": {
    "r": 25,
    "g": 31,
    "b": 79
  },
  "hsl": {
    "h": 233.333,
    "s": 51.923,
    "l": 20.392
  },
  "oklch": {
    "l": 0.26544,
    "c": 0.08762,
    "h": 273.5
  },
  "luminance": 0.01751
}

Semantic roles & 50–950 ramp

primary
#191F4F
secondary
#857E3E
accent
#CB4CDB
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #191F4F

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

Preview Lab → · Contrast checker → · Palette generator →

#191F4F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva