#13257C#13257C

#13257C is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.9% C 0.148 H 267.3°. Best body text is #FFFFFF at 13.26:1 contrast (WCAG AA passes).

Color values

HEX#13257C
RGBrgb(19, 37, 124)
HSLhsl(230, 73%, 28%)
HSVhsv(230, 85%, 49%)
CMYKcmyk(84.7%, 70.2%, 0%, 51.4%)
CIE-LABlab(19.71, 27.87, -50.95)
CIE-LCHlch(19.71, 58.08, 298.68°)
OKLaboklab(31.89% -0.0069 -0.1476)
OKLCHoklch(31.89% 0.148 267.3)
XYZxyz(4.5669, 2.9163, 19.3871)
Luminance0.0292 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#13257C #7C6A13
analogous
#13597C #13257C #35137C
triadic
#13257C #7C1325 #257C13
tetradic
#13257C #7C1359 #7C6A13 #137C35
square
#13257C #7C1359 #7C6A13 #137C35
split-complementary
#13257C #7C3513 #597C13
monochromatic
#04081B #0B1547 #13257C #1B35B1 #2B4ADF

Accessibility & contrast

On white

13.26
#13257C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#13257C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #13257C
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##13257C#FFFFFF#000000##FFFFFF
##13257C1.0013.261.5813.26
#FFFFFF13.261.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357F
Deuteranopia (green-blind)
#002B7A
Tritanopia (blue-blind)
#003D4D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #13257c;
/* rgb */ color: rgb(19, 37, 124);
/* oklch */ color: oklch(31.9% 0.148 267.3);
Tailwind
colors: {
  custom: {
    50: '#665fa3',
    500: '#13257c',
    950: '#000000',
  },
}
SCSS
$custom: #13257c;
$custom-light: #665fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#13257c",
  "rgb": {
    "r": 19,
    "g": 37,
    "b": 124
  },
  "hsl": {
    "h": 229.714,
    "s": 73.427,
    "l": 28.039
  },
  "oklch": {
    "l": 0.31887,
    "c": 0.14778,
    "h": 267.3
  },
  "luminance": 0.02917
}

Semantic roles & 50–950 ramp

primary
#13257C
secondary
#B29D39
accent
#D038F0
background
#F6F5FA
surface
#EBE9F4
border
#C6C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #13257C

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

Preview Lab → · Contrast checker → · Palette generator →

#13257C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva