#3139CA#3139CA

#3139CA is a dark, highly saturated blue. Relative luminance 0.078; OKLCH L 44.7% C 0.218 H 271.2°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#3139CA
RGBrgb(49, 57, 202)
HSLhsl(237, 61%, 49%)
HSVhsv(237, 76%, 79%)
CMYKcmyk(75.7%, 71.8%, 0%, 20.8%)
CIE-LABlab(33.65, 46.13, -75.27)
CIE-LCHlch(33.65, 88.28, 301.50°)
OKLaboklab(44.73% 0.0045 -0.2179)
OKLCHoklch(44.73% 0.218 271.2)
XYZxyz(13.3868, 7.8420, 56.6738)
Luminance0.0784 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3139CA #CAC231
analogous
#3186CA #3139CA #7631CA
triadic
#3139CA #CA3139 #39CA31
tetradic
#3139CA #CA3186 #CAC231 #31CA76
square
#3139CA #CA3186 #CAC231 #31CA76
split-complementary
#3139CA #CA7631 #86CA31
monochromatic
#191D67 #252B99 #3139CA #6066D8 #9195E4

Accessibility & contrast

On white

8.18
#3139CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#3139CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3139CA
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3139CA#FFFFFF#000000##FFFFFF
##3139CA1.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057CE
Deuteranopia (green-blind)
#0048C7
Tritanopia (blue-blind)
#00627E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3139ca;
/* rgb */ color: rgb(49, 57, 202);
/* oklch */ color: oklch(44.7% 0.218 271.2);
Tailwind
colors: {
  custom: {
    50: '#8271db',
    500: '#3139ca',
    950: '#000000',
  },
}
SCSS
$custom: #3139ca;
$custom-light: #8271db;
$custom-dark: #000000;
JSON
{
  "hex": "#3139ca",
  "rgb": {
    "r": 49,
    "g": 57,
    "b": 202
  },
  "hsl": {
    "h": 236.863,
    "s": 60.956,
    "l": 49.216
  },
  "oklch": {
    "l": 0.44728,
    "c": 0.21797,
    "h": 271.2
  },
  "luminance": 0.07843
}

Semantic roles & 50–950 ramp

primary
#3139CA
secondary
#CFCB88
accent
#DC44E4
background
#F8F6FD
surface
#F0ECFB
border
#CBC7D4
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #3139CA

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

Preview Lab → · Contrast checker → · Palette generator →

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