#3136A4#3136A4

#3136A4 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.5% C 0.173 H 273.6°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#3136A4
RGBrgb(49, 54, 164)
HSLhsl(237, 54%, 42%)
HSVhsv(237, 70%, 64%)
CMYKcmyk(70.1%, 67.1%, 0%, 35.7%)
CIE-LABlab(29.34, 34.85, -59.84)
CIE-LCHlch(29.34, 69.25, 300.21°)
OKLaboklab(40.51% 0.0109 -0.1729)
OKLCHoklch(40.51% 0.173 273.6)
XYZxyz(9.2844, 5.9708, 35.7779)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3136A4 #A49F31
analogous
#3170A4 #3136A4 #6631A4
triadic
#3136A4 #A43136 #36A431
tetradic
#3136A4 #A43170 #A49F31 #31A466
square
#3136A4 #A43170 #A49F31 #31A466
split-complementary
#3136A4 #A46631 #70A431
monochromatic
#151746 #232675 #3136A4 #494FC9 #797DD7

Accessibility & contrast

On white

9.57
#3136A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3136A4
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3136A4#FFFFFF#000000##FFFFFF
##3136A41.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA7
Deuteranopia (green-blind)
#0040A2
Tritanopia (blue-blind)
#005368
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3136a4;
/* rgb */ color: rgb(49, 54, 164);
/* oklch */ color: oklch(40.5% 0.173 273.6);
Tailwind
colors: {
  custom: {
    50: '#796dc0',
    500: '#3136a4',
    950: '#000000',
  },
}
SCSS
$custom: #3136a4;
$custom-light: #796dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#3136a4",
  "rgb": {
    "r": 49,
    "g": 54,
    "b": 164
  },
  "hsl": {
    "h": 237.391,
    "s": 53.991,
    "l": 41.765
  },
  "oklch": {
    "l": 0.40514,
    "c": 0.1732,
    "h": 273.6
  },
  "luminance": 0.05972
}

Semantic roles & 50–950 ramp

primary
#3136A4
secondary
#BFBC72
accent
#D74ADD
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #3136A4

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

Preview Lab → · Contrast checker → · Palette generator →

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