#131C63#131C63

#131C63 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 27.5% C 0.124 H 270.0°. Best body text is #FFFFFF at 15.28:1 contrast (WCAG AA passes).

Color values

HEX#131C63
RGBrgb(19, 28, 99)
HSLhsl(233, 68%, 23%)
HSVhsv(233, 81%, 39%)
CMYKcmyk(80.8%, 71.7%, 0%, 61.2%)
CIE-LABlab(14.79, 24.17, -42.83)
CIE-LCHlch(14.79, 49.18, 299.43°)
OKLaboklab(27.52% 0 -0.1239)
OKLCHoklch(27.52% 0.124 270)
XYZxyz(2.9352, 1.8695, 12.0081)
Luminance0.0187 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131C63 #635A13
analogous
#134463 #131C63 #321363
triadic
#131C63 #63131C #1C6313
tetradic
#131C63 #631344 #635A13 #136332
square
#131C63 #631344 #635A13 #136332
split-complementary
#131C63 #633213 #446313
monochromatic
#05071A #090D30 #131C63 #1D2B96 #2739CA

Accessibility & contrast

On white

15.28
#131C63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#131C63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131C63
15.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131C63#FFFFFF#000000##FFFFFF
##131C631.0015.281.3715.28
#FFFFFF15.281.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002965
Deuteranopia (green-blind)
#002162
Tritanopia (blue-blind)
#002F3D
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #131c63;
/* rgb */ color: rgb(19, 28, 99);
/* oklch */ color: oklch(27.5% 0.124 270.0);
Tailwind
colors: {
  custom: {
    50: '#605890',
    500: '#131c63',
    950: '#000000',
  },
}
SCSS
$custom: #131c63;
$custom-light: #605890;
$custom-dark: #000000;
JSON
{
  "hex": "#131c63",
  "rgb": {
    "r": 19,
    "g": 28,
    "b": 99
  },
  "hsl": {
    "h": 233.25,
    "s": 67.797,
    "l": 23.137
  },
  "oklch": {
    "l": 0.27517,
    "c": 0.12395,
    "h": 270
  },
  "luminance": 0.0187
}

Semantic roles & 50–950 ramp

primary
#131C63
secondary
#9B8F37
accent
#D73DEB
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05030D
muted
#7A787D

Preview Lab

Preview with #131C63

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

Preview Lab → · Contrast checker → · Palette generator →

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