#3134C9#3134C9

#3134C9 is a dark, highly saturated blue. Relative luminance 0.073; OKLCH L 43.9% C 0.222 H 271.8°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#3134C9
RGBrgb(49, 52, 201)
HSLhsl(239, 61%, 49%)
HSVhsv(239, 76%, 79%)
CMYKcmyk(75.6%, 74.1%, 0%, 21.2%)
CIE-LABlab(32.53, 48.64, -76.54)
CIE-LCHlch(32.53, 90.68, 302.44°)
OKLaboklab(43.9% 0.0069 -0.2216)
OKLCHoklch(43.9% 0.222 271.8)
XYZxyz(13.0337, 7.3246, 55.9739)
Luminance0.0733 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3134C9 #C9C631
analogous
#3180C9 #3134C9 #7A31C9
triadic
#3134C9 #C93134 #34C931
tetradic
#3134C9 #C93180 #C9C631 #31C97A
square
#3134C9 #C93180 #C9C631 #31C97A
split-complementary
#3134C9 #C97A31 #80C931
monochromatic
#191B67 #252798 #3134C9 #5F62D8 #9092E4

Accessibility & contrast

On white

8.52
#3134C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#3134C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3134C9
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3134C9#FFFFFF#000000##FFFFFF
##3134C91.008.522.478.52
#FFFFFF8.521.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054CD
Deuteranopia (green-blind)
#0045C6
Tritanopia (blue-blind)
#00607C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3134c9;
/* rgb */ color: rgb(49, 52, 201);
/* oklch */ color: oklch(43.9% 0.222 271.8);
Tailwind
colors: {
  custom: {
    50: '#826ddb',
    500: '#3134c9',
    950: '#000000',
  },
}
SCSS
$custom: #3134c9;
$custom-light: #826ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#3134c9",
  "rgb": {
    "r": 49,
    "g": 52,
    "b": 201
  },
  "hsl": {
    "h": 238.816,
    "s": 60.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.43901,
    "c": 0.22167,
    "h": 271.8
  },
  "luminance": 0.07326
}

Semantic roles & 50–950 ramp

primary
#3134C9
secondary
#CFCD87
accent
#E144E4
background
#F8F6FD
surface
#F0ECFB
border
#CBC7D4
text
#0C0715
muted
#7D7A83

Preview Lab

Preview with #3134C9

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

Preview Lab → · Contrast checker → · Palette generator →

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