#3136A5#3136A5

#3136A5 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.6% C 0.175 H 273.5°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#3136A5
RGBrgb(49, 54, 165)
HSLhsl(237, 54%, 42%)
HSVhsv(237, 70%, 65%)
CMYKcmyk(70.3%, 67.3%, 0%, 35.3%)
CIE-LABlab(29.43, 35.20, -60.29)
CIE-LCHlch(29.43, 69.82, 300.28°)
OKLaboklab(40.61% 0.0108 -0.1742)
OKLCHoklch(40.61% 0.175 273.5)
XYZxyz(9.3751, 6.0070, 36.2554)
Luminance0.0601 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3136A5 #A5A031
analogous
#3170A5 #3136A5 #6631A5
triadic
#3136A5 #A53136 #36A531
tetradic
#3136A5 #A53170 #A5A031 #31A566
square
#3136A5 #A53170 #A5A031 #31A566
split-complementary
#3136A5 #A56631 #70A531
monochromatic
#151747 #232776 #3136A5 #4A4FC9 #797DD7

Accessibility & contrast

On white

9.54
#3136A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#3136A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3136A5
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3136A5#FFFFFF#000000##FFFFFF
##3136A51.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA8
Deuteranopia (green-blind)
#0040A3
Tritanopia (blue-blind)
#005369
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3136a5;
/* rgb */ color: rgb(49, 54, 165);
/* oklch */ color: oklch(40.6% 0.175 273.5);
Tailwind
colors: {
  custom: {
    50: '#796dc1',
    500: '#3136a5',
    950: '#000000',
  },
}
SCSS
$custom: #3136a5;
$custom-light: #796dc1;
$custom-dark: #000000;
JSON
{
  "hex": "#3136a5",
  "rgb": {
    "r": 49,
    "g": 54,
    "b": 165
  },
  "hsl": {
    "h": 237.414,
    "s": 54.206,
    "l": 41.961
  },
  "oklch": {
    "l": 0.40609,
    "c": 0.17451,
    "h": 273.5
  },
  "luminance": 0.06008
}

Semantic roles & 50–950 ramp

primary
#3136A5
secondary
#C0BC72
accent
#D74ADE
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #3136A5

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

Preview Lab → · Contrast checker → · Palette generator →

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