#3136A2#3136A2

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

Color values

HEX#3136A2
RGBrgb(49, 54, 162)
HSLhsl(237, 54%, 41%)
HSVhsv(237, 70%, 64%)
CMYKcmyk(69.8%, 66.7%, 0%, 36.5%)
CIE-LABlab(29.16, 34.14, -58.93)
CIE-LCHlch(29.16, 68.11, 300.09°)
OKLaboklab(40.33% 0.0111 -0.1702)
OKLCHoklch(40.33% 0.171 273.7)
XYZxyz(9.1052, 5.8991, 34.8342)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3136A2 #A29D31
analogous
#316FA2 #3136A2 #6531A2
triadic
#3136A2 #A23136 #36A231
tetradic
#3136A2 #A2316F #A29D31 #31A265
square
#3136A2 #A2316F #A29D31 #31A265
split-complementary
#3136A2 #A26531 #6FA231
monochromatic
#151744 #232673 #3136A2 #484EC8 #777CD6

Accessibility & contrast

On white

9.63
#3136A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#3136A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3136A2
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3136A2#FFFFFF#000000##FFFFFF
##3136A21.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA5
Deuteranopia (green-blind)
#0040A0
Tritanopia (blue-blind)
#005267
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3136a2;
/* rgb */ color: rgb(49, 54, 162);
/* oklch */ color: oklch(40.3% 0.171 273.7);
Tailwind
colors: {
  custom: {
    50: '#796dbf',
    500: '#3136a2',
    950: '#000000',
  },
}
SCSS
$custom: #3136a2;
$custom-light: #796dbf;
$custom-dark: #000000;
JSON
{
  "hex": "#3136a2",
  "rgb": {
    "r": 49,
    "g": 54,
    "b": 162
  },
  "hsl": {
    "h": 237.345,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.40326,
    "c": 0.17055,
    "h": 273.7
  },
  "luminance": 0.059
}

Semantic roles & 50–950 ramp

primary
#3136A2
secondary
#BEBB71
accent
#D64BDD
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #3136A2

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

Preview Lab → · Contrast checker → · Palette generator →

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