#3134BC#3134BC

#3134BC is a dark, highly saturated blue. Relative luminance 0.067; OKLCH L 42.6% C 0.206 H 272.5°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#3134BC
RGBrgb(49, 52, 188)
HSLhsl(239, 59%, 46%)
HSVhsv(239, 74%, 74%)
CMYKcmyk(73.9%, 72.3%, 0%, 26.3%)
CIE-LABlab(31.20, 44.32, -71.10)
CIE-LCHlch(31.20, 83.79, 301.94°)
OKLaboklab(42.56% 0.009 -0.2057)
OKLCHoklch(42.56% 0.206 272.5)
XYZxyz(11.5687, 6.7386, 48.2582)
Luminance0.0674 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3134BC #BCB931
analogous
#317ABC #3134BC #7431BC
triadic
#3134BC #BC3134 #34BC31
tetradic
#3134BC #BC317A #BCB931 #31BC74
square
#3134BC #BC317A #BCB931 #31BC74
split-complementary
#3134BC #BC7431 #7ABC31
monochromatic
#18195B #24278B #3134BC #575AD3 #8889E0

Accessibility & contrast

On white

8.94
#3134BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#3134BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3134BC
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3134BC#FFFFFF#000000##FFFFFF
##3134BC1.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C0
Deuteranopia (green-blind)
#0043BA
Tritanopia (blue-blind)
#005B75
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3134bc;
/* rgb */ color: rgb(49, 52, 188);
/* oklch */ color: oklch(42.6% 0.206 272.5);
Tailwind
colors: {
  custom: {
    50: '#7f6dd1',
    500: '#3134bc',
    950: '#000000',
  },
}
SCSS
$custom: #3134bc;
$custom-light: #7f6dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#3134bc",
  "rgb": {
    "r": 49,
    "g": 52,
    "b": 188
  },
  "hsl": {
    "h": 238.705,
    "s": 58.65,
    "l": 46.471
  },
  "oklch": {
    "l": 0.42558,
    "c": 0.20594,
    "h": 272.5
  },
  "luminance": 0.0674
}

Semantic roles & 50–950 ramp

primary
#3134BC
secondary
#CAC87F
accent
#DE46E2
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #3134BC

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

Preview Lab → · Contrast checker → · Palette generator →

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