#3134C0#3134C0

#3134C0 is a dark, highly saturated blue. Relative luminance 0.069; OKLCH L 43.0% C 0.211 H 272.3°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#3134C0
RGBrgb(49, 52, 192)
HSLhsl(239, 59%, 47%)
HSVhsv(239, 74%, 75%)
CMYKcmyk(74.5%, 72.9%, 0%, 24.7%)
CIE-LABlab(31.61, 45.66, -72.79)
CIE-LCHlch(31.61, 85.93, 302.10°)
OKLaboklab(42.97% 0.0084 -0.2107)
OKLCHoklch(42.97% 0.211 272.3)
XYZxyz(12.0058, 6.9135, 50.5607)
Luminance0.0692 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3134C0 #C0BD31
analogous
#317CC0 #3134C0 #7531C0
triadic
#3134C0 #C03134 #34C031
tetradic
#3134C0 #C0317C #C0BD31 #31C075
square
#3134C0 #C0317C #C0BD31 #31C075
split-complementary
#3134C0 #C07531 #7CC031
monochromatic
#181A5E #25278F #3134C0 #595CD5 #8A8CE1

Accessibility & contrast

On white

8.81
#3134C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#3134C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3134C0
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3134C0#FFFFFF#000000##FFFFFF
##3134C01.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C4
Deuteranopia (green-blind)
#0043BD
Tritanopia (blue-blind)
#005C77
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3134c0;
/* rgb */ color: rgb(49, 52, 192);
/* oklch */ color: oklch(43.0% 0.211 272.3);
Tailwind
colors: {
  custom: {
    50: '#806dd4',
    500: '#3134c0',
    950: '#000000',
  },
}
SCSS
$custom: #3134c0;
$custom-light: #806dd4;
$custom-dark: #000000;
JSON
{
  "hex": "#3134c0",
  "rgb": {
    "r": 49,
    "g": 52,
    "b": 192
  },
  "hsl": {
    "h": 238.741,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.42967,
    "c": 0.21083,
    "h": 272.3
  },
  "luminance": 0.06915
}

Semantic roles & 50–950 ramp

primary
#3134C0
secondary
#CBCA82
accent
#DF45E3
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #3134C0

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

Preview Lab → · Contrast checker → · Palette generator →

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