#131F4E#131F4E

#131F4E is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.1% C 0.088 H 268.7°. Best body text is #FFFFFF at 15.75:1 contrast (WCAG AA passes).

Color values

HEX#131F4E
RGBrgb(19, 31, 78)
HSLhsl(228, 61%, 19%)
HSVhsv(228, 76%, 31%)
CMYKcmyk(75.6%, 60.3%, 0%, 69.4%)
CIE-LABlab(13.64, 13.28, -30.57)
CIE-LCHlch(13.64, 33.33, 293.48°)
OKLaboklab(26.05% -0.0019 -0.088)
OKLCHoklch(26.05% 0.088 268.7)
XYZxyz(2.1332, 1.6683, 7.4158)
Luminance0.0167 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131F4E #4E4213
analogous
#133D4E #131F4E #25134E
triadic
#131F4E #4E131F #1F4E13
tetradic
#131F4E #4E133D #4E4213 #134E25
square
#131F4E #4E133D #4E4213 #134E25
split-complementary
#131F4E #4E2513 #3D4E13
monochromatic
#060A19 #070B1D #131F4E #1F337F #2B46B0

Accessibility & contrast

On white

15.75
#131F4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #131F4E
15.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131F4E#FFFFFF#000000##FFFFFF
##131F4E1.0015.751.3315.75
#FFFFFF15.751.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002650
Deuteranopia (green-blind)
#00204D
Tritanopia (blue-blind)
#002A33
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #131f4e;
/* rgb */ color: rgb(19, 31, 78);
/* oklch */ color: oklch(26.1% 0.088 268.7);
Tailwind
colors: {
  custom: {
    50: '#5a5a80',
    500: '#131f4e',
    950: '#000000',
  },
}
SCSS
$custom: #131f4e;
$custom-light: #5a5a80;
$custom-dark: #000000;
JSON
{
  "hex": "#131f4e",
  "rgb": {
    "r": 19,
    "g": 31,
    "b": 78
  },
  "hsl": {
    "h": 227.797,
    "s": 60.825,
    "l": 19.02
  },
  "oklch": {
    "l": 0.2605,
    "c": 0.08799,
    "h": 268.7
  },
  "luminance": 0.01668
}

Semantic roles & 50–950 ramp

primary
#131F4E
secondary
#877636
accent
#C344E4
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #131F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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