#3134B8#3134B8

#3134B8 is a dark, highly saturated blue. Relative luminance 0.066; OKLCH L 42.2% C 0.201 H 272.7°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#3134B8
RGBrgb(49, 52, 184)
HSLhsl(239, 58%, 46%)
HSVhsv(239, 73%, 72%)
CMYKcmyk(73.4%, 71.7%, 0%, 27.8%)
CIE-LABlab(30.80, 42.98, -69.39)
CIE-LCHlch(30.80, 81.63, 301.77°)
OKLaboklab(42.15% 0.0096 -0.2008)
OKLCHoklch(42.15% 0.201 272.7)
XYZxyz(11.1434, 6.5685, 46.0187)
Luminance0.0657 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3134B8 #B8B531
analogous
#3177B8 #3134B8 #7231B8
triadic
#3134B8 #B83134 #34B831
tetradic
#3134B8 #B83177 #B8B531 #31B872
square
#3134B8 #B83177 #B8B531 #31B872
split-complementary
#3134B8 #B87231 #77B831
monochromatic
#171957 #242688 #3134B8 #5557D2 #8587DE

Accessibility & contrast

On white

9.08
#3134B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3134B8
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3134B8#FFFFFF#000000##FFFFFF
##3134B81.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3134b8;
/* rgb */ color: rgb(49, 52, 184);
/* oklch */ color: oklch(42.2% 0.201 272.7);
Tailwind
colors: {
  custom: {
    50: '#7e6dcf',
    500: '#3134b8',
    950: '#000000',
  },
}
SCSS
$custom: #3134b8;
$custom-light: #7e6dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#3134b8",
  "rgb": {
    "r": 49,
    "g": 52,
    "b": 184
  },
  "hsl": {
    "h": 238.667,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.42151,
    "c": 0.201,
    "h": 272.7
  },
  "luminance": 0.0657
}

Semantic roles & 50–950 ramp

primary
#3134B8
secondary
#C8C67D
accent
#DE47E1
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3134B8

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

Preview Lab → · Contrast checker → · Palette generator →

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