#131F64#131F64

#131F64 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.2% C 0.122 H 269.1°. Best body text is #FFFFFF at 14.92:1 contrast (WCAG AA passes).

Color values

HEX#131F64
RGBrgb(19, 31, 100)
HSLhsl(231, 68%, 23%)
HSVhsv(231, 81%, 39%)
CMYKcmyk(81%, 69%, 0%, 60.8%)
CIE-LABlab(15.69, 22.45, -42.01)
CIE-LCHlch(15.69, 47.63, 298.11°)
OKLaboklab(28.21% -0.002 -0.1215)
OKLCHoklch(28.21% 0.122 269.1)
XYZxyz(3.0580, 2.0382, 12.2864)
Luminance0.0204 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131F64 #645813
analogous
#134764 #131F64 #2F1364
triadic
#131F64 #64131F #1F6413
tetradic
#131F64 #641347 #645813 #13642F
square
#131F64 #641347 #645813 #13642F
split-complementary
#131F64 #642F13 #476413
monochromatic
#05081A #090F31 #131F64 #1D2F97 #273FCB

Accessibility & contrast

On white

14.92
#131F64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#131F64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131F64
14.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131F64#FFFFFF#000000##FFFFFF
##131F641.0014.921.4114.92
#FFFFFF14.921.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B66
Deuteranopia (green-blind)
#002363
Tritanopia (blue-blind)
#00313E
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #131f64;
/* rgb */ color: rgb(19, 31, 100);
/* oklch */ color: oklch(28.2% 0.122 269.1);
Tailwind
colors: {
  custom: {
    50: '#605a91',
    500: '#131f64',
    950: '#000000',
  },
}
SCSS
$custom: #131f64;
$custom-light: #605a91;
$custom-dark: #000000;
JSON
{
  "hex": "#131f64",
  "rgb": {
    "r": 19,
    "g": 31,
    "b": 100
  },
  "hsl": {
    "h": 231.111,
    "s": 68.067,
    "l": 23.333
  },
  "oklch": {
    "l": 0.28205,
    "c": 0.12156,
    "h": 269.1
  },
  "luminance": 0.02039
}

Semantic roles & 50–950 ramp

primary
#131F64
secondary
#9C8D37
accent
#D13DEB
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#05030D
muted
#79787E

Preview Lab

Preview with #131F64

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

Preview Lab → · Contrast checker → · Palette generator →

#131F64 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva