#3134B6#3134B6

#3134B6 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.9% C 0.199 H 272.9°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#3134B6
RGBrgb(49, 52, 182)
HSLhsl(239, 58%, 45%)
HSVhsv(239, 73%, 71%)
CMYKcmyk(73.1%, 71.4%, 0%, 28.6%)
CIE-LABlab(30.61, 42.30, -68.54)
CIE-LCHlch(30.61, 80.54, 301.68°)
OKLaboklab(41.95% 0.0099 -0.1983)
OKLCHoklch(41.95% 0.199 272.9)
XYZxyz(10.9353, 6.4852, 44.9224)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3134B6 #B6B331
analogous
#3176B6 #3134B6 #7131B6
triadic
#3134B6 #B63134 #34B631
tetradic
#3134B6 #B63176 #B6B331 #31B671
square
#3134B6 #B63176 #B6B331 #31B671
split-complementary
#3134B6 #B67131 #76B631
monochromatic
#171856 #242686 #3134B6 #5356D1 #8486DE

Accessibility & contrast

On white

9.14
#3134B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#3134B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3134B6
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3134B6#FFFFFF#000000##FFFFFF
##3134B61.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EBA
Deuteranopia (green-blind)
#0042B4
Tritanopia (blue-blind)
#005871
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3134b6;
/* rgb */ color: rgb(49, 52, 182);
/* oklch */ color: oklch(41.9% 0.199 272.9);
Tailwind
colors: {
  custom: {
    50: '#7d6ccd',
    500: '#3134b6',
    950: '#000000',
  },
}
SCSS
$custom: #3134b6;
$custom-light: #7d6ccd;
$custom-dark: #000000;
JSON
{
  "hex": "#3134b6",
  "rgb": {
    "r": 49,
    "g": 52,
    "b": 182
  },
  "hsl": {
    "h": 238.647,
    "s": 57.576,
    "l": 45.294
  },
  "oklch": {
    "l": 0.41949,
    "c": 0.19851,
    "h": 272.9
  },
  "luminance": 0.06486
}

Semantic roles & 50–950 ramp

primary
#3134B6
secondary
#C7C57C
accent
#DD47E1
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #3134B6

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

Preview Lab → · Contrast checker → · Palette generator →

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