#131F4C#131F4C

#131F4C is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.9% C 0.085 H 268.6°. Best body text is #FFFFFF at 15.81:1 contrast (WCAG AA passes).

Color values

HEX#131F4C
RGBrgb(19, 31, 76)
HSLhsl(227, 60%, 19%)
HSVhsv(227, 75%, 30%)
CMYKcmyk(75%, 59.2%, 0%, 70.2%)
CIE-LABlab(13.47, 12.43, -29.47)
CIE-LCHlch(13.47, 31.99, 292.87°)
OKLaboklab(25.87% -0.0021 -0.0847)
OKLCHoklch(25.87% 0.085 268.6)
XYZxyz(2.0626, 1.6400, 7.0439)
Luminance0.0164 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131F4C #4C4013
analogous
#133B4C #131F4C #23134C
triadic
#131F4C #4C131F #1F4C13
tetradic
#131F4C #4C133B #4C4013 #134C23
square
#131F4C #4C133B #4C4013 #134C23
split-complementary
#131F4C #4C2313 #3B4C13
monochromatic
#060A18 #070B1B #131F4C #1F337D #2B47AE

Accessibility & contrast

On white

15.81
#131F4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #131F4C
15.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131F4C#FFFFFF#000000##FFFFFF
##131F4C1.0015.811.3315.81
#FFFFFF15.811.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02254E
Deuteranopia (green-blind)
#00204B
Tritanopia (blue-blind)
#002A32
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #131f4c;
/* rgb */ color: rgb(19, 31, 76);
/* oklch */ color: oklch(25.9% 0.085 268.6);
Tailwind
colors: {
  custom: {
    50: '#595a7e',
    500: '#131f4c',
    950: '#000000',
  },
}
SCSS
$custom: #131f4c;
$custom-light: #595a7e;
$custom-dark: #000000;
JSON
{
  "hex": "#131f4c",
  "rgb": {
    "r": 19,
    "g": 31,
    "b": 76
  },
  "hsl": {
    "h": 227.368,
    "s": 60,
    "l": 18.627
  },
  "oklch": {
    "l": 0.2587,
    "c": 0.08476,
    "h": 268.6
  },
  "luminance": 0.0164
}

Semantic roles & 50–950 ramp

primary
#131F4C
secondary
#857436
accent
#C245E3
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #131F4C

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

Preview Lab → · Contrast checker → · Palette generator →

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