#3128B6#3128B6

#3128B6 is a dark, highly saturated blue. Relative luminance 0.055; OKLCH L 40.3% C 0.210 H 274.3°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#3128B6
RGBrgb(49, 40, 182)
HSLhsl(244, 64%, 44%)
HSVhsv(244, 78%, 71%)
CMYKcmyk(73.1%, 78%, 0%, 28.6%)
CIE-LABlab(28.24, 48.97, -72.44)
CIE-LCHlch(28.24, 87.44, 304.06°)
OKLaboklab(40.27% 0.0156 -0.2095)
OKLCHoklch(40.27% 0.21 274.3)
XYZxyz(10.4661, 5.5469, 44.7660)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3128B6 #ADB628
analogous
#2866B6 #3128B6 #7828B6
triadic
#3128B6 #B63128 #28B631
tetradic
#3128B6 #B62866 #ADB628 #28B678
square
#3128B6 #B62866 #ADB628 #28B678
split-complementary
#3128B6 #B67828 #66B628
monochromatic
#161252 #231D84 #3128B6 #4E45D6 #7E77E1

Accessibility & contrast

On white

9.95
#3128B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#3128B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3128B6
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3128B6#FFFFFF#000000##FFFFFF
##3128B61.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049BA
Deuteranopia (green-blind)
#003CB4
Tritanopia (blue-blind)
#00536E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3128b6;
/* rgb */ color: rgb(49, 40, 182);
/* oklch */ color: oklch(40.3% 0.210 274.3);
Tailwind
colors: {
  custom: {
    50: '#7f65cd',
    500: '#3128b6',
    950: '#000000',
  },
}
SCSS
$custom: #3128b6;
$custom-light: #7f65cd;
$custom-dark: #000000;
JSON
{
  "hex": "#3128b6",
  "rgb": {
    "r": 49,
    "g": 40,
    "b": 182
  },
  "hsl": {
    "h": 243.803,
    "s": 63.964,
    "l": 43.529
  },
  "oklch": {
    "l": 0.40272,
    "c": 0.21012,
    "h": 274.3
  },
  "luminance": 0.05548
}

Semantic roles & 50–950 ramp

primary
#3128B6
secondary
#C3C971
accent
#E741DC
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #3128B6

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

Preview Lab → · Contrast checker → · Palette generator →

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