#3134BA#3134BA

#3134BA is a dark, highly saturated blue. Relative luminance 0.067; OKLCH L 42.4% C 0.203 H 272.6°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#3134BA
RGBrgb(49, 52, 186)
HSLhsl(239, 58%, 46%)
HSVhsv(239, 74%, 73%)
CMYKcmyk(73.7%, 72%, 0%, 27.1%)
CIE-LABlab(31.00, 43.65, -70.25)
CIE-LCHlch(31.00, 82.71, 301.86°)
OKLaboklab(42.35% 0.0093 -0.2033)
OKLCHoklch(42.35% 0.203 272.6)
XYZxyz(11.3546, 6.6530, 47.1306)
Luminance0.0665 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3134BA #BAB731
analogous
#3178BA #3134BA #7231BA
triadic
#3134BA #BA3134 #34BA31
tetradic
#3134BA #BA3178 #BAB731 #31BA72
square
#3134BA #BA3178 #BAB731 #31BA72
split-complementary
#3134BA #BA7231 #78BA31
monochromatic
#171959 #24268A #3134BA #5659D2 #8688DF

Accessibility & contrast

On white

9.01
#3134BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#3134BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3134BA
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3134BA#FFFFFF#000000##FFFFFF
##3134BA1.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050BE
Deuteranopia (green-blind)
#0042B8
Tritanopia (blue-blind)
#005A74
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3134ba;
/* rgb */ color: rgb(49, 52, 186);
/* oklch */ color: oklch(42.4% 0.203 272.6);
Tailwind
colors: {
  custom: {
    50: '#7e6dd0',
    500: '#3134ba',
    950: '#000000',
  },
}
SCSS
$custom: #3134ba;
$custom-light: #7e6dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#3134ba",
  "rgb": {
    "r": 49,
    "g": 52,
    "b": 186
  },
  "hsl": {
    "h": 238.686,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.42354,
    "c": 0.20347,
    "h": 272.6
  },
  "luminance": 0.06654
}

Semantic roles & 50–950 ramp

primary
#3134BA
secondary
#C9C77E
accent
#DE46E2
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3134BA

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

Preview Lab → · Contrast checker → · Palette generator →

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