#3134CF#3134CF

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

Color values

HEX#3134CF
RGBrgb(49, 52, 207)
HSLhsl(239, 62%, 50%)
HSVhsv(239, 76%, 81%)
CMYKcmyk(76.3%, 74.9%, 0%, 18.8%)
CIE-LABlab(33.16, 50.59, -78.99)
CIE-LCHlch(33.16, 93.80, 302.64°)
OKLaboklab(44.53% 0.0058 -0.2287)
OKLCHoklch(44.53% 0.229 271.5)
XYZxyz(13.7533, 7.6124, 59.7639)
Luminance0.0761 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3134CF #CFCC31
analogous
#3183CF #3134CF #7D31CF
triadic
#3134CF #CF3134 #34CF31
tetradic
#3134CF #CF3183 #CFCC31 #31CF7D
square
#3134CF #CF3183 #CFCC31 #31CF7D
split-complementary
#3134CF #CF7D31 #83CF31
monochromatic
#191B6C #25279E #3134CF #6365DB #9496E6

Accessibility & contrast

On white

8.32
#3134CF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#3134CF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3134CF
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3134CF#FFFFFF#000000##FFFFFF
##3134CF1.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056D3
Deuteranopia (green-blind)
#0046CC
Tritanopia (blue-blind)
#00627F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3134cf;
/* rgb */ color: rgb(49, 52, 207);
/* oklch */ color: oklch(44.5% 0.229 271.5);
Tailwind
colors: {
  custom: {
    50: '#836edf',
    500: '#3134cf',
    950: '#000000',
  },
}
SCSS
$custom: #3134cf;
$custom-light: #836edf;
$custom-dark: #000000;
JSON
{
  "hex": "#3134cf",
  "rgb": {
    "r": 49,
    "g": 52,
    "b": 207
  },
  "hsl": {
    "h": 238.861,
    "s": 62.205,
    "l": 50.196
  },
  "oklch": {
    "l": 0.44532,
    "c": 0.22876,
    "h": 271.5
  },
  "luminance": 0.07614
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3134CF

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

Preview Lab → · Contrast checker → · Palette generator →

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