#3137CA#3137CA

#3137CA is a dark, highly saturated blue. Relative luminance 0.076; OKLCH L 44.4% C 0.220 H 271.4°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#3137CA
RGBrgb(49, 55, 202)
HSLhsl(238, 61%, 49%)
HSVhsv(238, 76%, 79%)
CMYKcmyk(75.7%, 72.8%, 0%, 20.8%)
CIE-LABlab(33.24, 47.28, -75.95)
CIE-LCHlch(33.24, 89.47, 301.90°)
OKLaboklab(44.43% 0.0054 -0.2199)
OKLCHoklch(44.43% 0.22 271.4)
XYZxyz(13.2899, 7.6482, 56.6415)
Luminance0.0765 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3137CA #CAC431
analogous
#3184CA #3137CA #7831CA
triadic
#3137CA #CA3137 #37CA31
tetradic
#3137CA #CA3184 #CAC431 #31CA78
square
#3137CA #CA3184 #CAC431 #31CA78
split-complementary
#3137CA #CA7831 #84CA31
monochromatic
#191C67 #252A99 #3137CA #6065D8 #9194E4

Accessibility & contrast

On white

8.30
#3137CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#3137CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3137CA
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3137CA#FFFFFF#000000##FFFFFF
##3137CA1.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056CE
Deuteranopia (green-blind)
#0047C7
Tritanopia (blue-blind)
#00617D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3137ca;
/* rgb */ color: rgb(49, 55, 202);
/* oklch */ color: oklch(44.4% 0.220 271.4);
Tailwind
colors: {
  custom: {
    50: '#826fdb',
    500: '#3137ca',
    950: '#000000',
  },
}
SCSS
$custom: #3137ca;
$custom-light: #826fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#3137ca",
  "rgb": {
    "r": 49,
    "g": 55,
    "b": 202
  },
  "hsl": {
    "h": 237.647,
    "s": 60.956,
    "l": 49.216
  },
  "oklch": {
    "l": 0.44433,
    "c": 0.21996,
    "h": 271.4
  },
  "luminance": 0.0765
}

Semantic roles & 50–950 ramp

primary
#3137CA
secondary
#CFCC88
accent
#DE44E4
background
#F8F6FD
surface
#F0ECFB
border
#CBC7D4
text
#0C0715
muted
#7D7A83

Preview Lab

Preview with #3137CA

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

Preview Lab → · Contrast checker → · Palette generator →

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