#131B63#131B63

#131B63 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.3% C 0.125 H 270.3°. Best body text is #FFFFFF at 15.39:1 contrast (WCAG AA passes).

Color values

HEX#131B63
RGBrgb(19, 27, 99)
HSLhsl(234, 68%, 23%)
HSVhsv(234, 81%, 39%)
CMYKcmyk(80.8%, 72.7%, 0%, 61.2%)
CIE-LABlab(14.53, 24.86, -43.25)
CIE-LCHlch(14.53, 49.89, 299.89°)
OKLaboklab(27.33% 0.0006 -0.1252)
OKLCHoklch(27.33% 0.125 270.3)
XYZxyz(2.9119, 1.8228, 12.0003)
Luminance0.0182 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131B63 #635B13
analogous
#134363 #131B63 #331363
triadic
#131B63 #63131B #1B6313
tetradic
#131B63 #631343 #635B13 #136333
square
#131B63 #631343 #635B13 #136333
split-complementary
#131B63 #633313 #436313
monochromatic
#05071A #090D30 #131B63 #1D2996 #2737CA

Accessibility & contrast

On white

15.39
#131B63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #131B63
15.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131B63#FFFFFF#000000##FFFFFF
##131B631.0015.391.3615.39
#FFFFFF15.391.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002965
Deuteranopia (green-blind)
#002162
Tritanopia (blue-blind)
#002F3C
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #131b63;
/* rgb */ color: rgb(19, 27, 99);
/* oklch */ color: oklch(27.3% 0.125 270.3);
Tailwind
colors: {
  custom: {
    50: '#605790',
    500: '#131b63',
    950: '#000000',
  },
}
SCSS
$custom: #131b63;
$custom-light: #605790;
$custom-dark: #000000;
JSON
{
  "hex": "#131b63",
  "rgb": {
    "r": 19,
    "g": 27,
    "b": 99
  },
  "hsl": {
    "h": 234,
    "s": 67.797,
    "l": 23.137
  },
  "oklch": {
    "l": 0.27329,
    "c": 0.12519,
    "h": 270.3
  },
  "luminance": 0.01823
}

Semantic roles & 50–950 ramp

primary
#131B63
secondary
#9B9137
accent
#D93DEB
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05030D
muted
#7A787D

Preview Lab

Preview with #131B63

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

Preview Lab → · Contrast checker → · Palette generator →

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