#131B62#131B62

#131B62 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.2% C 0.124 H 270.3°. Best body text is #FFFFFF at 15.43:1 contrast (WCAG AA passes).

Color values

HEX#131B62
RGBrgb(19, 27, 98)
HSLhsl(234, 68%, 23%)
HSVhsv(234, 81%, 38%)
CMYKcmyk(80.6%, 72.4%, 0%, 61.6%)
CIE-LABlab(14.42, 24.47, -42.77)
CIE-LCHlch(14.42, 49.27, 299.77°)
OKLaboklab(27.22% 0.0007 -0.1238)
OKLCHoklch(27.22% 0.124 270.3)
XYZxyz(2.8643, 1.8038, 11.7501)
Luminance0.0180 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131B62 #625A13
analogous
#134262 #131B62 #321362
triadic
#131B62 #62131B #1B6213
tetradic
#131B62 #621342 #625A13 #136232
square
#131B62 #621342 #625A13 #136232
split-complementary
#131B62 #623213 #426213
monochromatic
#05071A #090D2F #131B62 #1D2995 #2737C9

Accessibility & contrast

On white

15.43
#131B62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#131B62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131B62
15.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131B62#FFFFFF#000000##FFFFFF
##131B621.0015.431.3615.43
#FFFFFF15.431.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002864
Deuteranopia (green-blind)
#002161
Tritanopia (blue-blind)
#002E3C
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #131b62;
/* rgb */ color: rgb(19, 27, 98);
/* oklch */ color: oklch(27.2% 0.124 270.3);
Tailwind
colors: {
  custom: {
    50: '#60578f',
    500: '#131b62',
    950: '#000000',
  },
}
SCSS
$custom: #131b62;
$custom-light: #60578f;
$custom-dark: #000000;
JSON
{
  "hex": "#131b62",
  "rgb": {
    "r": 19,
    "g": 27,
    "b": 98
  },
  "hsl": {
    "h": 233.924,
    "s": 67.521,
    "l": 22.941
  },
  "oklch": {
    "l": 0.2722,
    "c": 0.12377,
    "h": 270.3
  },
  "luminance": 0.01804
}

Semantic roles & 50–950 ramp

primary
#131B62
secondary
#9A9037
accent
#D93DEA
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05030C
muted
#7A787D

Preview Lab

Preview with #131B62

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

Preview Lab → · Contrast checker → · Palette generator →

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