#131E46#131E46

#131E46 is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.1% C 0.076 H 268.8°. Best body text is #FFFFFF at 16.13:1 contrast (WCAG AA passes).

Color values

HEX#131E46
RGBrgb(19, 30, 70)
HSLhsl(227, 57%, 17%)
HSVhsv(227, 73%, 27%)
CMYKcmyk(72.9%, 57.1%, 0%, 72.5%)
CIE-LABlab(12.67, 10.65, -26.63)
CIE-LCHlch(12.67, 28.68, 291.79°)
OKLaboklab(25.1% -0.0016 -0.0764)
OKLCHoklch(25.1% 0.076 268.8)
XYZxyz(1.8379, 1.5090, 5.9876)
Luminance0.0151 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131E46 #463B13
analogous
#133746 #131E46 #221346
triadic
#131E46 #46131E #1E4613
tetradic
#131E46 #461337 #463B13 #134622
square
#131E46 #461337 #463B13 #134622
split-complementary
#131E46 #462213 #374613
monochromatic
#070A18 #070A18 #131E46 #203376 #2D47A6

Accessibility & contrast

On white

16.13
#131E46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#131E46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131E46
16.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131E46#FFFFFF#000000##FFFFFF
##131E461.0016.131.3016.13
#FFFFFF16.131.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#072347
Deuteranopia (green-blind)
#001F45
Tritanopia (blue-blind)
#00272E
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #131e46;
/* rgb */ color: rgb(19, 30, 70);
/* oklch */ color: oklch(25.1% 0.076 268.8);
Tailwind
colors: {
  custom: {
    50: '#58597a',
    500: '#131e46',
    950: '#000000',
  },
}
SCSS
$custom: #131e46;
$custom-light: #58597a;
$custom-dark: #000000;
JSON
{
  "hex": "#131e46",
  "rgb": {
    "r": 19,
    "g": 30,
    "b": 70
  },
  "hsl": {
    "h": 227.059,
    "s": 57.303,
    "l": 17.451
  },
  "oklch": {
    "l": 0.25104,
    "c": 0.07641,
    "h": 268.8
  },
  "luminance": 0.01509
}

Semantic roles & 50–950 ramp

primary
#131E46
secondary
#7F6F36
accent
#BF47E1
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030309
muted
#78787B

Preview Lab

Preview with #131E46

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

Preview Lab → · Contrast checker → · Palette generator →

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