#3134CE#3134CE

#3134CE is a dark, highly saturated blue. Relative luminance 0.076; OKLCH L 44.4% C 0.228 H 271.5°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#3134CE
RGBrgb(49, 52, 206)
HSLhsl(239, 62%, 50%)
HSVhsv(239, 76%, 81%)
CMYKcmyk(76.2%, 74.8%, 0%, 19.2%)
CIE-LABlab(33.06, 50.27, -78.58)
CIE-LCHlch(33.06, 93.29, 302.61°)
OKLaboklab(44.43% 0.006 -0.2275)
OKLCHoklch(44.43% 0.228 271.5)
XYZxyz(13.6314, 7.5637, 59.1221)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3134CE #CECB31
analogous
#3182CE #3134CE #7D31CE
triadic
#3134CE #CE3134 #34CE31
tetradic
#3134CE #CE3182 #CECB31 #31CE7D
square
#3134CE #CE3182 #CECB31 #31CE7D
split-complementary
#3134CE #CE7D31 #82CE31
monochromatic
#191B6B #25289D #3134CE #6265DA #9495E6

Accessibility & contrast

On white

8.36
#3134CE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#3134CE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3134CE
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3134CE#FFFFFF#000000##FFFFFF
##3134CE1.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055D2
Deuteranopia (green-blind)
#0046CB
Tritanopia (blue-blind)
#00617F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3134ce;
/* rgb */ color: rgb(49, 52, 206);
/* oklch */ color: oklch(44.4% 0.228 271.5);
Tailwind
colors: {
  custom: {
    50: '#836ede',
    500: '#3134ce',
    950: '#000000',
  },
}
SCSS
$custom: #3134ce;
$custom-light: #836ede;
$custom-dark: #000000;
JSON
{
  "hex": "#3134ce",
  "rgb": {
    "r": 49,
    "g": 52,
    "b": 206
  },
  "hsl": {
    "h": 238.854,
    "s": 61.569,
    "l": 50
  },
  "oklch": {
    "l": 0.44426,
    "c": 0.22759,
    "h": 271.5
  },
  "luminance": 0.07565
}

Semantic roles & 50–950 ramp

primary
#3134CE
secondary
#D1CF8A
accent
#E243E5
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #3134CE

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

Preview Lab → · Contrast checker → · Palette generator →

#3134CE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva