#3134B7#3134B7

#3134B7 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 42.0% C 0.200 H 272.8°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#3134B7
RGBrgb(49, 52, 183)
HSLhsl(239, 58%, 45%)
HSVhsv(239, 73%, 72%)
CMYKcmyk(73.2%, 71.6%, 0%, 28.2%)
CIE-LABlab(30.70, 42.64, -68.97)
CIE-LCHlch(30.70, 81.08, 301.73°)
OKLaboklab(42.05% 0.0098 -0.1995)
OKLCHoklch(42.05% 0.2 272.8)
XYZxyz(11.0390, 6.5267, 45.4686)
Luminance0.0653 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3134B7 #B7B431
analogous
#3177B7 #3134B7 #7131B7
triadic
#3134B7 #B73134 #34B731
tetradic
#3134B7 #B73177 #B7B431 #31B771
square
#3134B7 #B73177 #B7B431 #31B771
split-complementary
#3134B7 #B77131 #77B731
monochromatic
#171956 #242687 #3134B7 #5457D1 #8486DE

Accessibility & contrast

On white

9.11
#3134B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#3134B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3134B7
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3134B7#FFFFFF#000000##FFFFFF
##3134B71.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBB
Deuteranopia (green-blind)
#0042B5
Tritanopia (blue-blind)
#005972
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3134b7;
/* rgb */ color: rgb(49, 52, 183);
/* oklch */ color: oklch(42.0% 0.200 272.8);
Tailwind
colors: {
  custom: {
    50: '#7e6dce',
    500: '#3134b7',
    950: '#000000',
  },
}
SCSS
$custom: #3134b7;
$custom-light: #7e6dce;
$custom-dark: #000000;
JSON
{
  "hex": "#3134b7",
  "rgb": {
    "r": 49,
    "g": 52,
    "b": 183
  },
  "hsl": {
    "h": 238.657,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.4205,
    "c": 0.19976,
    "h": 272.8
  },
  "luminance": 0.06528
}

Semantic roles & 50–950 ramp

primary
#3134B7
secondary
#C8C67C
accent
#DE47E1
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #3134B7

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

Preview Lab → · Contrast checker → · Palette generator →

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