#3137AF#3137AF

#3137AF is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.7% C 0.186 H 272.8°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#3137AF
RGBrgb(49, 55, 175)
HSLhsl(237, 56%, 44%)
HSVhsv(237, 72%, 69%)
CMYKcmyk(72%, 68.6%, 0%, 31.4%)
CIE-LABlab(30.59, 38.08, -64.39)
CIE-LCHlch(30.59, 74.81, 300.60°)
OKLaboklab(41.74% 0.0091 -0.1862)
OKLCHoklch(41.74% 0.186 272.8)
XYZxyz(10.3681, 6.4795, 41.2534)
Luminance0.0648 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3137AF #AFA931
analogous
#3176AF #3137AF #6A31AF
triadic
#3137AF #AF3137 #37AF31
tetradic
#3137AF #AF3176 #AFA931 #31AF6A
square
#3137AF #AF3176 #AFA931 #31AF6A
split-complementary
#3137AF #AF6A31 #76AF31
monochromatic
#16194F #24287F #3137AF #4F55CE #7F84DB

Accessibility & contrast

On white

9.15
#3137AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#3137AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3137AF
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3137AF#FFFFFF#000000##FFFFFF
##3137AF1.009.152.309.15
#FFFFFF9.151.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB3
Deuteranopia (green-blind)
#0042AD
Tritanopia (blue-blind)
#00576E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3137af;
/* rgb */ color: rgb(49, 55, 175);
/* oklch */ color: oklch(41.7% 0.186 272.8);
Tailwind
colors: {
  custom: {
    50: '#7c6ec8',
    500: '#3137af',
    950: '#000000',
  },
}
SCSS
$custom: #3137af;
$custom-light: #7c6ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#3137af",
  "rgb": {
    "r": 49,
    "g": 55,
    "b": 175
  },
  "hsl": {
    "h": 237.143,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.41735,
    "c": 0.18638,
    "h": 272.8
  },
  "luminance": 0.0648
}

Semantic roles & 50–950 ramp

primary
#3137AF
secondary
#C4C078
accent
#D848E0
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3137AF

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

Preview Lab → · Contrast checker → · Palette generator →

#3137AF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva