#131B61#131B61

#131B61 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.1% C 0.122 H 270.4°. Best body text is #FFFFFF at 15.48:1 contrast (WCAG AA passes).

Color values

HEX#131B61
RGBrgb(19, 27, 97)
HSLhsl(234, 67%, 23%)
HSVhsv(234, 80%, 38%)
CMYKcmyk(80.4%, 72.2%, 0%, 62%)
CIE-LABlab(14.32, 24.07, -42.28)
CIE-LCHlch(14.32, 48.65, 299.65°)
OKLaboklab(27.11% 0.0008 -0.1223)
OKLCHoklch(27.11% 0.122 270.4)
XYZxyz(2.8174, 1.7851, 11.5030)
Luminance0.0179 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131B61 #615913
analogous
#134261 #131B61 #321361
triadic
#131B61 #61131B #1B6113
tetradic
#131B61 #611342 #615913 #136132
square
#131B61 #611342 #615913 #136132
split-complementary
#131B61 #613213 #426113
monochromatic
#05071A #090D2E #131B61 #1D2994 #2737C7

Accessibility & contrast

On white

15.48
#131B61 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#131B61 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131B61
15.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131B61#FFFFFF#000000##FFFFFF
##131B611.0015.481.3615.48
#FFFFFF15.481.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002863
Deuteranopia (green-blind)
#002160
Tritanopia (blue-blind)
#002E3B
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #131b61;
/* rgb */ color: rgb(19, 27, 97);
/* oklch */ color: oklch(27.1% 0.122 270.4);
Tailwind
colors: {
  custom: {
    50: '#5f578f',
    500: '#131b61',
    950: '#000000',
  },
}
SCSS
$custom: #131b61;
$custom-light: #5f578f;
$custom-dark: #000000;
JSON
{
  "hex": "#131b61",
  "rgb": {
    "r": 19,
    "g": 27,
    "b": 97
  },
  "hsl": {
    "h": 233.846,
    "s": 67.241,
    "l": 22.745
  },
  "oklch": {
    "l": 0.27111,
    "c": 0.12234,
    "h": 270.4
  },
  "luminance": 0.01785
}

Semantic roles & 50–950 ramp

primary
#131B61
secondary
#998F37
accent
#D83EEA
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05030C
muted
#7A787D

Preview Lab

Preview with #131B61

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

Preview Lab → · Contrast checker → · Palette generator →

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