#1313B4#1313B4

#1313B4 is a dark, highly saturated blue. Relative luminance 0.039; OKLCH L 36.4% C 0.230 H 267.0°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#1313B4
RGBrgb(19, 19, 180)
HSLhsl(240, 81%, 39%)
HSVhsv(240, 89%, 71%)
CMYKcmyk(89.4%, 89.4%, 0%, 29.4%)
CIE-LABlab(23.33, 56.12, -79.44)
CIE-LCHlch(23.33, 97.26, 305.24°)
OKLaboklab(36.39% -0.0121 -0.2298)
OKLCHoklch(36.39% 0.23 267)
XYZxyz(8.7368, 3.8984, 43.4631)
Luminance0.0390 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1313B4 #B4B413
analogous
#1364B4 #1313B4 #6413B4
triadic
#1313B4 #B41313 #13B413
tetradic
#1313B4 #B41364 #B4B413 #13B464
square
#1313B4 #B41364 #B4B413 #13B464
split-complementary
#1313B4 #B46413 #64B413
monochromatic
#070745 #0D0D7D #1313B4 #1D1DE7 #5454ED

Accessibility & contrast

On white

11.80
#1313B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#1313B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1313B4
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1313B4#FFFFFF#000000##FFFFFF
##1313B41.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040B8
Deuteranopia (green-blind)
#002EB1
Tritanopia (blue-blind)
#004C6A
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1313b4;
/* rgb */ color: rgb(19, 19, 180);
/* oklch */ color: oklch(36.4% 0.230 267.0);
Tailwind
colors: {
  custom: {
    50: '#7859cc',
    500: '#1313b4',
    950: '#000000',
  },
}
SCSS
$custom: #1313b4;
$custom-light: #7859cc;
$custom-dark: #000000;
JSON
{
  "hex": "#1313b4",
  "rgb": {
    "r": 19,
    "g": 19,
    "b": 180
  },
  "hsl": {
    "h": 240,
    "s": 80.905,
    "l": 39.02
  },
  "oklch": {
    "l": 0.36395,
    "c": 0.23016,
    "h": 267
  },
  "luminance": 0.03899
}

Semantic roles & 50–950 ramp

primary
#1313B4
secondary
#CFCF53
accent
#F730F7
background
#F8F5FC
surface
#EFE9F9
border
#CAC5D2
text
#0B0414
muted
#7C7982

Preview Lab

Preview with #1313B4

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

Preview Lab → · Contrast checker → · Palette generator →

#1313B4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva