#1931B4#1931B4

#1931B4 is a dark, highly saturated blue. Relative luminance 0.057; OKLCH L 40.2% C 0.205 H 266.8°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#1931B4
RGBrgb(25, 49, 180)
HSLhsl(231, 76%, 40%)
HSVhsv(231, 86%, 71%)
CMYKcmyk(86.1%, 72.8%, 0%, 29.4%)
CIE-LABlab(28.64, 41.54, -70.63)
CIE-LCHlch(28.64, 81.94, 300.46°)
OKLaboklab(40.17% -0.0115 -0.2048)
OKLCHoklch(40.17% 0.205 266.8)
XYZxyz(9.7346, 5.6974, 43.7578)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1931B4 #B49C19
analogous
#197EB4 #1931B4 #4F19B4
triadic
#1931B4 #B41931 #31B419
tetradic
#1931B4 #B4197E #B49C19 #19B44F
square
#1931B4 #B4197E #B49C19 #19B44F
split-complementary
#1931B4 #B44F19 #7EB419
monochromatic
#0A1449 #12227E #1931B4 #2945E1 #5F74E9

Accessibility & contrast

On white

9.81
#1931B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#1931B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1931B4
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1931B4#FFFFFF#000000##FFFFFF
##1931B41.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB8
Deuteranopia (green-blind)
#003CB2
Tritanopia (blue-blind)
#00576F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1931b4;
/* rgb */ color: rgb(25, 49, 180);
/* oklch */ color: oklch(40.2% 0.205 266.8);
Tailwind
colors: {
  custom: {
    50: '#766acc',
    500: '#1931b4',
    950: '#000000',
  },
}
SCSS
$custom: #1931b4;
$custom-light: #766acc;
$custom-dark: #000000;
JSON
{
  "hex": "#1931b4",
  "rgb": {
    "r": 25,
    "g": 49,
    "b": 180
  },
  "hsl": {
    "h": 230.71,
    "s": 75.61,
    "l": 40.196
  },
  "oklch": {
    "l": 0.40169,
    "c": 0.20512,
    "h": 266.8
  },
  "luminance": 0.05699
}

Semantic roles & 50–950 ramp

primary
#1931B4
secondary
#CDBB5C
accent
#D536F2
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0614
muted
#7C7A82

Preview Lab

Preview with #1931B4

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

Preview Lab → · Contrast checker → · Palette generator →

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