#3128A6#3128A6

#3128A6 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.5% C 0.191 H 275.8°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#3128A6
RGBrgb(49, 40, 166)
HSLhsl(244, 61%, 40%)
HSVhsv(244, 76%, 65%)
CMYKcmyk(70.5%, 75.9%, 0%, 34.9%)
CIE-LABlab(26.51, 43.85, -65.70)
CIE-LCHlch(26.51, 78.99, 303.72°)
OKLaboklab(38.55% 0.0192 -0.1899)
OKLCHoklch(38.55% 0.191 275.8)
XYZxyz(8.9061, 4.9229, 36.5499)
Luminance0.0492 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3128A6 #9DA628
analogous
#285EA6 #3128A6 #7028A6
triadic
#3128A6 #A63128 #28A631
tetradic
#3128A6 #A6285E #9DA628 #28A670
square
#3128A6 #A6285E #9DA628 #28A670
split-complementary
#3128A6 #A67028 #5EA628
monochromatic
#141043 #221C75 #3128A6 #463BD0 #756DDC

Accessibility & contrast

On white

10.58
#3128A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#3128A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3128A6
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3128A6#FFFFFF#000000##FFFFFF
##3128A61.0010.581.9810.58
#FFFFFF10.581.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AA
Deuteranopia (green-blind)
#0039A4
Tritanopia (blue-blind)
#004D65
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3128a6;
/* rgb */ color: rgb(49, 40, 166);
/* oklch */ color: oklch(38.5% 0.191 275.8);
Tailwind
colors: {
  custom: {
    50: '#7b64c2',
    500: '#3128a6',
    950: '#000000',
  },
}
SCSS
$custom: #3128a6;
$custom-light: #7b64c2;
$custom-dark: #000000;
JSON
{
  "hex": "#3128a6",
  "rgb": {
    "r": 49,
    "g": 40,
    "b": 166
  },
  "hsl": {
    "h": 244.286,
    "s": 61.165,
    "l": 40.392
  },
  "oklch": {
    "l": 0.38549,
    "c": 0.19089,
    "h": 275.8
  },
  "luminance": 0.04924
}

Semantic roles & 50–950 ramp

primary
#3128A6
secondary
#BCC267
accent
#E444D9
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3128A6

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

Preview Lab → · Contrast checker → · Palette generator →

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