#131F5E#131F5E

#131F5E is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.6% C 0.113 H 269.1°. Best body text is #FFFFFF at 15.16:1 contrast (WCAG AA passes).

Color values

HEX#131F5E
RGBrgb(19, 31, 94)
HSLhsl(230, 66%, 22%)
HSVhsv(230, 80%, 37%)
CMYKcmyk(79.8%, 67%, 0%, 63.1%)
CIE-LABlab(15.10, 19.99, -39.00)
CIE-LCHlch(15.10, 43.83, 297.13°)
OKLaboklab(27.59% -0.0017 -0.1127)
OKLCHoklch(27.59% 0.113 269.1)
XYZxyz(2.7782, 1.9263, 10.8129)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131F5E #5E5213
analogous
#13455E #131F5E #2D135E
triadic
#131F5E #5E131F #1F5E13
tetradic
#131F5E #5E1345 #5E5213 #135E2D
square
#131F5E #5E1345 #5E5213 #135E2D
split-complementary
#131F5E #5E2D13 #455E13
monochromatic
#050819 #090E2B #131F5E #1D3091 #2841C4

Accessibility & contrast

On white

15.16
#131F5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#131F5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131F5E
15.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131F5E#FFFFFF#000000##FFFFFF
##131F5E1.0015.161.3915.16
#FFFFFF15.161.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002960
Deuteranopia (green-blind)
#00225D
Tritanopia (blue-blind)
#002F3B
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #131f5e;
/* rgb */ color: rgb(19, 31, 94);
/* oklch */ color: oklch(27.6% 0.113 269.1);
Tailwind
colors: {
  custom: {
    50: '#5e5a8c',
    500: '#131f5e',
    950: '#000000',
  },
}
SCSS
$custom: #131f5e;
$custom-light: #5e5a8c;
$custom-dark: #000000;
JSON
{
  "hex": "#131f5e",
  "rgb": {
    "r": 19,
    "g": 31,
    "b": 94
  },
  "hsl": {
    "h": 230.4,
    "s": 66.372,
    "l": 22.157
  },
  "oklch": {
    "l": 0.27588,
    "c": 0.11274,
    "h": 269.1
  },
  "luminance": 0.01927
}

Semantic roles & 50–950 ramp

primary
#131F5E
secondary
#968737
accent
#CE3FE9
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #131F5E

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

Preview Lab → · Contrast checker → · Palette generator →

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