#131F75#131F75

#131F75 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.0% C 0.145 H 268.6°. Best body text is #FFFFFF at 14.18:1 contrast (WCAG AA passes).

Color values

HEX#131F75
RGBrgb(19, 31, 117)
HSLhsl(233, 72%, 27%)
HSVhsv(233, 84%, 46%)
CMYKcmyk(83.8%, 73.5%, 0%, 54.1%)
CIE-LABlab(17.47, 29.19, -50.16)
CIE-LCHlch(17.47, 58.03, 300.20°)
OKLaboklab(30.04% -0.0034 -0.1453)
OKLCHoklch(30.04% 0.145 268.6)
XYZxyz(3.9683, 2.4023, 17.0807)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131F75 #756913
analogous
#135075 #131F75 #381375
triadic
#131F75 #75131F #1F7513
tetradic
#131F75 #751350 #756913 #137538
square
#131F75 #751350 #756913 #137538
split-complementary
#131F75 #753813 #507513
monochromatic
#04071A #0A1140 #131F75 #1C2DAA #273DDC

Accessibility & contrast

On white

14.18
#131F75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#131F75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131F75
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131F75#FFFFFF#000000##FFFFFF
##131F751.0014.181.4814.18
#FFFFFF14.181.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003078
Deuteranopia (green-blind)
#002673
Tritanopia (blue-blind)
#003747
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #131f75;
/* rgb */ color: rgb(19, 31, 117);
/* oklch */ color: oklch(30.0% 0.145 268.6);
Tailwind
colors: {
  custom: {
    50: '#655b9e',
    500: '#131f75',
    950: '#000000',
  },
}
SCSS
$custom: #131f75;
$custom-light: #655b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#131f75",
  "rgb": {
    "r": 19,
    "g": 31,
    "b": 117
  },
  "hsl": {
    "h": 232.653,
    "s": 72.059,
    "l": 26.667
  },
  "oklch": {
    "l": 0.30043,
    "c": 0.14535,
    "h": 268.6
  },
  "luminance": 0.02403
}

Semantic roles & 50–950 ramp

primary
#131F75
secondary
#AB9D38
accent
#D939EF
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #131F75

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

Preview Lab → · Contrast checker → · Palette generator →

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