#3136A3#3136A3

#3136A3 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.4% C 0.172 H 273.7°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#3136A3
RGBrgb(49, 54, 163)
HSLhsl(237, 54%, 42%)
HSVhsv(237, 70%, 64%)
CMYKcmyk(69.9%, 66.9%, 0%, 36.1%)
CIE-LABlab(29.25, 34.49, -59.39)
CIE-LCHlch(29.25, 68.68, 300.15°)
OKLaboklab(40.42% 0.011 -0.1715)
OKLCHoklch(40.42% 0.172 273.7)
XYZxyz(9.1944, 5.9348, 35.3042)
Luminance0.0594 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3136A3 #A39E31
analogous
#316FA3 #3136A3 #6531A3
triadic
#3136A3 #A33136 #36A331
tetradic
#3136A3 #A3316F #A39E31 #31A365
square
#3136A3 #A3316F #A39E31 #31A365
split-complementary
#3136A3 #A36531 #6FA331
monochromatic
#151745 #232674 #3136A3 #494FC8 #787CD6

Accessibility & contrast

On white

9.60
#3136A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#3136A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3136A3
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3136A3#FFFFFF#000000##FFFFFF
##3136A31.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA6
Deuteranopia (green-blind)
#0040A1
Tritanopia (blue-blind)
#005367
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3136a3;
/* rgb */ color: rgb(49, 54, 163);
/* oklch */ color: oklch(40.4% 0.172 273.7);
Tailwind
colors: {
  custom: {
    50: '#796dbf',
    500: '#3136a3',
    950: '#000000',
  },
}
SCSS
$custom: #3136a3;
$custom-light: #796dbf;
$custom-dark: #000000;
JSON
{
  "hex": "#3136a3",
  "rgb": {
    "r": 49,
    "g": 54,
    "b": 163
  },
  "hsl": {
    "h": 237.368,
    "s": 53.774,
    "l": 41.569
  },
  "oklch": {
    "l": 0.4042,
    "c": 0.17188,
    "h": 273.7
  },
  "luminance": 0.05936
}

Semantic roles & 50–950 ramp

primary
#3136A3
secondary
#BFBB71
accent
#D74BDD
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #3136A3

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

Preview Lab → · Contrast checker → · Palette generator →

#3136A3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva