#3128C5#3128C5

#3128C5 is a dark, highly saturated blue. Relative luminance 0.062; OKLCH L 41.9% C 0.228 H 273.1°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#3128C5
RGBrgb(49, 40, 197)
HSLhsl(243, 66%, 46%)
HSVhsv(243, 80%, 77%)
CMYKcmyk(75.1%, 79.7%, 0%, 22.7%)
CIE-LABlab(29.91, 53.63, -78.53)
CIE-LCHlch(29.91, 95.10, 304.33°)
OKLaboklab(41.93% 0.0121 -0.2272)
OKLCHoklch(41.93% 0.228 273.1)
XYZxyz(12.1001, 6.2005, 53.3716)
Luminance0.0620 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3128C5 #BCC528
analogous
#286EC5 #3128C5 #7F28C5
triadic
#3128C5 #C53128 #28C531
tetradic
#3128C5 #C5286E #BCC528 #28C57F
square
#3128C5 #C5286E #BCC528 #28C57F
split-complementary
#3128C5 #C57F28 #6EC528
monochromatic
#18135F #241E92 #3128C5 #574FDB #8882E6

Accessibility & contrast

On white

9.37
#3128C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#3128C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3128C5
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3128C5#FFFFFF#000000##FFFFFF
##3128C51.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EC9
Deuteranopia (green-blind)
#003FC2
Tritanopia (blue-blind)
#005977
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3128c5;
/* rgb */ color: rgb(49, 40, 197);
/* oklch */ color: oklch(41.9% 0.228 273.1);
Tailwind
colors: {
  custom: {
    50: '#8266d8',
    500: '#3128c5',
    950: '#000000',
  },
}
SCSS
$custom: #3128c5;
$custom-light: #8266d8;
$custom-dark: #000000;
JSON
{
  "hex": "#3128c5",
  "rgb": {
    "r": 49,
    "g": 40,
    "b": 197
  },
  "hsl": {
    "h": 243.439,
    "s": 66.245,
    "l": 46.471
  },
  "oklch": {
    "l": 0.4193,
    "c": 0.22754,
    "h": 273.1
  },
  "luminance": 0.06202
}

Semantic roles & 50–950 ramp

primary
#3128C5
secondary
#CACE7A
accent
#E93FDF
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0D0615
muted
#7D7A83

Preview Lab

Preview with #3128C5

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

Preview Lab → · Contrast checker → · Palette generator →

#3128C5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva