#3134B1#3134B1

#3134B1 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.4% C 0.192 H 273.2°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#3134B1
RGBrgb(49, 52, 177)
HSLhsl(239, 57%, 44%)
HSVhsv(239, 72%, 69%)
CMYKcmyk(72.3%, 70.6%, 0%, 30.6%)
CIE-LABlab(30.11, 40.60, -66.37)
CIE-LCHlch(30.11, 77.80, 301.45°)
OKLaboklab(41.45% 0.0106 -0.1919)
OKLCHoklch(41.45% 0.192 273.2)
XYZxyz(10.4278, 6.2822, 42.2495)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3134B1 #B1AE31
analogous
#3174B1 #3134B1 #6E31B1
triadic
#3134B1 #B13134 #34B131
tetradic
#3134B1 #B13174 #B1AE31 #31B16E
square
#3134B1 #B13174 #B1AE31 #31B16E
split-complementary
#3134B1 #B16E31 #74B131
monochromatic
#161851 #242681 #3134B1 #5153CF #8083DC

Accessibility & contrast

On white

9.31
#3134B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#3134B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3134B1
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3134B1#FFFFFF#000000##FFFFFF
##3134B11.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB5
Deuteranopia (green-blind)
#0041AF
Tritanopia (blue-blind)
#00576F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3134b1;
/* rgb */ color: rgb(49, 52, 177);
/* oklch */ color: oklch(41.4% 0.192 273.2);
Tailwind
colors: {
  custom: {
    50: '#7c6cc9',
    500: '#3134b1',
    950: '#000000',
  },
}
SCSS
$custom: #3134b1;
$custom-light: #7c6cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#3134b1",
  "rgb": {
    "r": 49,
    "g": 52,
    "b": 177
  },
  "hsl": {
    "h": 238.594,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.41448,
    "c": 0.19223,
    "h": 273.2
  },
  "luminance": 0.06283
}

Semantic roles & 50–950 ramp

primary
#3134B1
secondary
#C5C379
accent
#DC48E0
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3134B1

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

Preview Lab → · Contrast checker → · Palette generator →

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