#131E45#131E45

#131E45 is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.0% C 0.075 H 268.7°. Best body text is #FFFFFF at 16.16:1 contrast (WCAG AA passes).

Color values

HEX#131E45
RGBrgb(19, 30, 69)
HSLhsl(227, 57%, 17%)
HSVhsv(227, 72%, 27%)
CMYKcmyk(72.5%, 56.5%, 0%, 72.9%)
CIE-LABlab(12.59, 10.22, -26.06)
CIE-LCHlch(12.59, 28.00, 291.42°)
OKLaboklab(25.02% -0.0017 -0.0747)
OKLCHoklch(25.02% 0.075 268.7)
XYZxyz(1.8066, 1.4965, 5.8227)
Luminance0.0150 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131E45 #453A13
analogous
#133745 #131E45 #211345
triadic
#131E45 #45131E #1E4513
tetradic
#131E45 #451337 #453A13 #134521
square
#131E45 #451337 #453A13 #134521
split-complementary
#131E45 #452113 #374513
monochromatic
#070A18 #070A18 #131E45 #203375 #2D48A5

Accessibility & contrast

On white

16.16
#131E45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #131E45
16.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131E45#FFFFFF#000000##FFFFFF
##131E451.0016.161.3016.16
#FFFFFF16.161.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #131e45;
/* rgb */ color: rgb(19, 30, 69);
/* oklch */ color: oklch(25.0% 0.075 268.7);
Tailwind
colors: {
  custom: {
    50: '#575979',
    500: '#131e45',
    950: '#000000',
  },
}
SCSS
$custom: #131e45;
$custom-light: #575979;
$custom-dark: #000000;
JSON
{
  "hex": "#131e45",
  "rgb": {
    "r": 19,
    "g": 30,
    "b": 69
  },
  "hsl": {
    "h": 226.8,
    "s": 56.818,
    "l": 17.255
  },
  "oklch": {
    "l": 0.25018,
    "c": 0.07474,
    "h": 268.7
  },
  "luminance": 0.01497
}

Semantic roles & 50–950 ramp

primary
#131E45
secondary
#7E6E36
accent
#BF48E0
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030309
muted
#78787B

Preview Lab

Preview with #131E45

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

Preview Lab → · Contrast checker → · Palette generator →

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