#3128C6#3128C6

#3128C6 is a dark, highly saturated blue. Relative luminance 0.062; OKLCH L 42.0% C 0.229 H 273.0°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#3128C6
RGBrgb(49, 40, 198)
HSLhsl(243, 66%, 47%)
HSVhsv(243, 80%, 78%)
CMYKcmyk(75.3%, 79.8%, 0%, 22.4%)
CIE-LABlab(30.03, 53.93, -78.93)
CIE-LCHlch(30.03, 95.60, 304.34°)
OKLaboklab(42.04% 0.0119 -0.2284)
OKLCHoklch(42.04% 0.229 273)
XYZxyz(12.2150, 6.2465, 53.9771)
Luminance0.0625 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3128C6 #BDC628
analogous
#286EC6 #3128C6 #8028C6
triadic
#3128C6 #C63128 #28C631
tetradic
#3128C6 #C6286E #BDC628 #28C680
square
#3128C6 #C6286E #BDC628 #28C680
split-complementary
#3128C6 #C68028 #6EC628
monochromatic
#181360 #241E93 #3128C6 #5850DC #8883E6

Accessibility & contrast

On white

9.33
#3128C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#3128C6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3128C6
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3128C6#FFFFFF#000000##FFFFFF
##3128C61.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004ECA
Deuteranopia (green-blind)
#003FC3
Tritanopia (blue-blind)
#005978
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3128c6;
/* rgb */ color: rgb(49, 40, 198);
/* oklch */ color: oklch(42.0% 0.229 273.0);
Tailwind
colors: {
  custom: {
    50: '#8266d9',
    500: '#3128c6',
    950: '#000000',
  },
}
SCSS
$custom: #3128c6;
$custom-light: #8266d9;
$custom-dark: #000000;
JSON
{
  "hex": "#3128c6",
  "rgb": {
    "r": 49,
    "g": 40,
    "b": 198
  },
  "hsl": {
    "h": 243.418,
    "s": 66.387,
    "l": 46.667
  },
  "oklch": {
    "l": 0.42042,
    "c": 0.22869,
    "h": 273
  },
  "luminance": 0.06248
}

Semantic roles & 50–950 ramp

primary
#3128C6
secondary
#CACF7B
accent
#E93EE0
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0D0615
muted
#7D7A83

Preview Lab

Preview with #3128C6

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

Preview Lab → · Contrast checker → · Palette generator →

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