#131B6F#131B6F

#131B6F is a dark, vivid blue. Relative luminance 0.021; OKLCH L 28.7% C 0.142 H 269.6°. Best body text is #FFFFFF at 14.85:1 contrast (WCAG AA passes).

Color values

HEX#131B6F
RGBrgb(19, 27, 111)
HSLhsl(235, 71%, 25%)
HSVhsv(235, 83%, 44%)
CMYKcmyk(82.9%, 75.7%, 0%, 56.5%)
CIE-LABlab(15.85, 29.52, -48.95)
CIE-LCHlch(15.85, 57.17, 301.10°)
OKLaboklab(28.68% -0.0009 -0.1418)
OKLCHoklch(28.68% 0.142 269.6)
XYZxyz(3.5288, 2.0696, 15.2493)
Luminance0.0207 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131B6F #6F6713
analogous
#13496F #131B6F #39136F
triadic
#131B6F #6F131B #1B6F13
tetradic
#131B6F #6F1349 #6F6713 #136F39
square
#131B6F #6F1349 #6F6713 #136F39
split-complementary
#131B6F #6F3913 #496F13
monochromatic
#04061A #0A0E3B #131B6F #1C28A3 #2534D8

Accessibility & contrast

On white

14.85
#131B6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#131B6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131B6F
14.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131B6F#FFFFFF#000000##FFFFFF
##131B6F1.0014.851.4114.85
#FFFFFF14.851.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C71
Deuteranopia (green-blind)
#00236D
Tritanopia (blue-blind)
#003343
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #131b6f;
/* rgb */ color: rgb(19, 27, 111);
/* oklch */ color: oklch(28.7% 0.142 269.6);
Tailwind
colors: {
  custom: {
    50: '#635899',
    500: '#131b6f',
    950: '#000000',
  },
}
SCSS
$custom: #131b6f;
$custom-light: #635899;
$custom-dark: #000000;
JSON
{
  "hex": "#131b6f",
  "rgb": {
    "r": 19,
    "g": 27,
    "b": 111
  },
  "hsl": {
    "h": 234.783,
    "s": 70.769,
    "l": 25.49
  },
  "oklch": {
    "l": 0.28677,
    "c": 0.14179,
    "h": 269.6
  },
  "luminance": 0.0207
}

Semantic roles & 50–950 ramp

primary
#131B6F
secondary
#A69C38
accent
#DE3AEE
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030E
muted
#7A787E

Preview Lab

Preview with #131B6F

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

Preview Lab → · Contrast checker → · Palette generator →

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