#131B58#131B58

#131B58 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 26.2% C 0.109 H 270.8°. Best body text is #FFFFFF at 15.84:1 contrast (WCAG AA passes).

Color values

HEX#131B58
RGBrgb(19, 27, 88)
HSLhsl(233, 64%, 21%)
HSVhsv(233, 78%, 35%)
CMYKcmyk(78.4%, 69.3%, 0%, 65.5%)
CIE-LABlab(13.39, 20.43, -37.77)
CIE-LCHlch(13.39, 42.95, 298.41°)
OKLaboklab(26.15% 0.0016 -0.1092)
OKLCHoklch(26.15% 0.109 270.8)
XYZxyz(2.4213, 1.6266, 9.4170)
Luminance0.0163 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131B58 #585013
analogous
#133D58 #131B58 #2D1358
triadic
#131B58 #58131B #1B5813
tetradic
#131B58 #58133D #585013 #13582D
square
#131B58 #58133D #585013 #13582D
split-complementary
#131B58 #582D13 #3D5813
monochromatic
#050819 #080C26 #131B58 #1E2A8A #293ABD

Accessibility & contrast

On white

15.84
#131B58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#131B58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131B58
15.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131B58#FFFFFF#000000##FFFFFF
##131B581.0015.841.3315.84
#FFFFFF15.841.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265A
Deuteranopia (green-blind)
#001F57
Tritanopia (blue-blind)
#002B36
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #131b58;
/* rgb */ color: rgb(19, 27, 88);
/* oklch */ color: oklch(26.2% 0.109 270.8);
Tailwind
colors: {
  custom: {
    50: '#5d5788',
    500: '#131b58',
    950: '#000000',
  },
}
SCSS
$custom: #131b58;
$custom-light: #5d5788;
$custom-dark: #000000;
JSON
{
  "hex": "#131b58",
  "rgb": {
    "r": 19,
    "g": 27,
    "b": 88
  },
  "hsl": {
    "h": 233.043,
    "s": 64.486,
    "l": 20.98
  },
  "oklch": {
    "l": 0.26153,
    "c": 0.10917,
    "h": 270.8
  },
  "luminance": 0.01627
}

Semantic roles & 50–950 ramp

primary
#131B58
secondary
#908637
accent
#D440E7
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#05030B
muted
#79787C

Preview Lab

Preview with #131B58

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

Preview Lab → · Contrast checker → · Palette generator →

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