#131B64#131B64

#131B64 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.4% C 0.127 H 270.2°. Best body text is #FFFFFF at 15.35:1 contrast (WCAG AA passes).

Color values

HEX#131B64
RGBrgb(19, 27, 100)
HSLhsl(234, 68%, 23%)
HSVhsv(234, 81%, 39%)
CMYKcmyk(81%, 73%, 0%, 60.8%)
CIE-LABlab(14.64, 25.26, -43.74)
CIE-LCHlch(14.64, 50.51, 300.01°)
OKLaboklab(27.44% 0.0005 -0.1266)
OKLCHoklch(27.44% 0.127 270.2)
XYZxyz(2.9600, 1.8421, 12.2537)
Luminance0.0184 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131B64 #645C13
analogous
#134364 #131B64 #331364
triadic
#131B64 #64131B #1B6413
tetradic
#131B64 #641343 #645C13 #136433
square
#131B64 #641343 #645C13 #136433
split-complementary
#131B64 #643313 #436413
monochromatic
#05071A #090D31 #131B64 #1D2997 #2737CB

Accessibility & contrast

On white

15.35
#131B64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #131B64
15.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131B64#FFFFFF#000000##FFFFFF
##131B641.0015.351.3715.35
#FFFFFF15.351.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #131b64;
/* rgb */ color: rgb(19, 27, 100);
/* oklch */ color: oklch(27.4% 0.127 270.2);
Tailwind
colors: {
  custom: {
    50: '#605791',
    500: '#131b64',
    950: '#000000',
  },
}
SCSS
$custom: #131b64;
$custom-light: #605791;
$custom-dark: #000000;
JSON
{
  "hex": "#131b64",
  "rgb": {
    "r": 19,
    "g": 27,
    "b": 100
  },
  "hsl": {
    "h": 234.074,
    "s": 68.067,
    "l": 23.333
  },
  "oklch": {
    "l": 0.27439,
    "c": 0.12661,
    "h": 270.2
  },
  "luminance": 0.01842
}

Semantic roles & 50–950 ramp

primary
#131B64
secondary
#9C9237
accent
#DA3DEB
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #131B64

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

Preview Lab → · Contrast checker → · Palette generator →

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