#3128CD#3128CD

#3128CD is a dark, highly saturated blue. Relative luminance 0.066; OKLCH L 42.8% C 0.237 H 272.5°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#3128CD
RGBrgb(49, 40, 205)
HSLhsl(243, 67%, 48%)
HSVhsv(243, 80%, 80%)
CMYKcmyk(76.1%, 80.5%, 0%, 19.6%)
CIE-LABlab(30.82, 56.06, -81.70)
CIE-LCHlch(30.82, 99.08, 304.46°)
OKLaboklab(42.83% 0.0103 -0.2364)
OKLCHoklch(42.83% 0.237 272.5)
XYZxyz(13.0412, 6.5769, 58.3279)
Luminance0.0658 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3128CD #C4CD28
analogous
#2871CD #3128CD #8428CD
triadic
#3128CD #CD3128 #28CD31
tetradic
#3128CD #CD2871 #C4CD28 #28CD84
square
#3128CD #CD2871 #C4CD28 #28CD84
split-complementary
#3128CD #CD8428 #71CD28
monochromatic
#191467 #251E9A #3128CD #5C54DE #8D88E8

Accessibility & contrast

On white

9.07
#3128CD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#3128CD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3128CD
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3128CD#FFFFFF#000000##FFFFFF
##3128CD1.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050D2
Deuteranopia (green-blind)
#0040CA
Tritanopia (blue-blind)
#005C7C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3128cd;
/* rgb */ color: rgb(49, 40, 205);
/* oklch */ color: oklch(42.8% 0.237 272.5);
Tailwind
colors: {
  custom: {
    50: '#8467de',
    500: '#3128cd',
    950: '#000000',
  },
}
SCSS
$custom: #3128cd;
$custom-light: #8467de;
$custom-dark: #000000;
JSON
{
  "hex": "#3128cd",
  "rgb": {
    "r": 49,
    "g": 40,
    "b": 205
  },
  "hsl": {
    "h": 243.273,
    "s": 67.347,
    "l": 48.039
  },
  "oklch": {
    "l": 0.42827,
    "c": 0.23662,
    "h": 272.5
  },
  "luminance": 0.06578
}

Semantic roles & 50–950 ramp

primary
#3128CD
secondary
#CDD180
accent
#EA3EE1
background
#F9F6FD
surface
#F1EBFB
border
#CBC6D4
text
#0D0615
muted
#7E7A83

Preview Lab

Preview with #3128CD

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

Preview Lab → · Contrast checker → · Palette generator →

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