#3134B3#3134B3

#3134B3 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.6% C 0.195 H 273.0°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#3134B3
RGBrgb(49, 52, 179)
HSLhsl(239, 57%, 45%)
HSVhsv(239, 73%, 70%)
CMYKcmyk(72.6%, 70.9%, 0%, 29.8%)
CIE-LABlab(30.31, 41.28, -67.24)
CIE-LCHlch(30.31, 78.90, 301.55°)
OKLaboklab(41.65% 0.0103 -0.1945)
OKLCHoklch(41.65% 0.195 273)
XYZxyz(10.6286, 6.3626, 43.3070)
Luminance0.0636 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3134B3 #B3B031
analogous
#3175B3 #3134B3 #6F31B3
triadic
#3134B3 #B33134 #34B331
tetradic
#3134B3 #B33175 #B3B031 #31B36F
square
#3134B3 #B33175 #B3B031 #31B36F
split-complementary
#3134B3 #B36F31 #75B331
monochromatic
#171853 #242683 #3134B3 #5255D0 #8284DD

Accessibility & contrast

On white

9.24
#3134B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#3134B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3134B3
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3134B3#FFFFFF#000000##FFFFFF
##3134B31.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB7
Deuteranopia (green-blind)
#0041B1
Tritanopia (blue-blind)
#005770
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3134b3;
/* rgb */ color: rgb(49, 52, 179);
/* oklch */ color: oklch(41.6% 0.195 273.0);
Tailwind
colors: {
  custom: {
    50: '#7d6ccb',
    500: '#3134b3',
    950: '#000000',
  },
}
SCSS
$custom: #3134b3;
$custom-light: #7d6ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#3134b3",
  "rgb": {
    "r": 49,
    "g": 52,
    "b": 179
  },
  "hsl": {
    "h": 238.615,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.41648,
    "c": 0.19475,
    "h": 273
  },
  "luminance": 0.06364
}

Semantic roles & 50–950 ramp

primary
#3134B3
secondary
#C6C47A
accent
#DD48E0
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3134B3

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

Preview Lab → · Contrast checker → · Palette generator →

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