#1931A1#1931A1

#1931A1 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.2% C 0.181 H 266.9°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#1931A1
RGBrgb(25, 49, 161)
HSLhsl(229, 73%, 36%)
HSVhsv(229, 84%, 63%)
CMYKcmyk(84.5%, 69.6%, 0%, 36.9%)
CIE-LABlab(26.66, 34.58, -62.46)
CIE-LCHlch(26.66, 71.40, 298.97°)
OKLaboklab(38.16% -0.0099 -0.181)
OKLCHoklch(38.16% 0.181 266.9)
XYZxyz(7.9300, 4.9755, 34.2537)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1931A1 #A18919
analogous
#1975A1 #1931A1 #4519A1
triadic
#1931A1 #A11931 #31A119
tetradic
#1931A1 #A11975 #A18919 #19A145
square
#1931A1 #A11975 #A18919 #19A145
split-complementary
#1931A1 #A14519 #75A119
monochromatic
#091137 #11216C #1931A1 #2141D6 #506BE4

Accessibility & contrast

On white

10.52
#1931A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#1931A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1931A1
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1931A1#FFFFFF#000000##FFFFFF
##1931A11.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A4
Deuteranopia (green-blind)
#00399F
Tritanopia (blue-blind)
#005065
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #1931a1;
/* rgb */ color: rgb(25, 49, 161);
/* oklch */ color: oklch(38.2% 0.181 266.9);
Tailwind
colors: {
  custom: {
    50: '#7169be',
    500: '#1931a1',
    950: '#000000',
  },
}
SCSS
$custom: #1931a1;
$custom-light: #7169be;
$custom-dark: #000000;
JSON
{
  "hex": "#1931a1",
  "rgb": {
    "r": 25,
    "g": 49,
    "b": 161
  },
  "hsl": {
    "h": 229.412,
    "s": 73.118,
    "l": 36.471
  },
  "oklch": {
    "l": 0.38157,
    "c": 0.1813,
    "h": 266.9
  },
  "luminance": 0.04977
}

Semantic roles & 50–950 ramp

primary
#1931A1
secondary
#C6B14F
accent
#CF38F0
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #1931A1

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

Preview Lab → · Contrast checker → · Palette generator →

#1931A1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva