#3128AB#3128AB

#3128AB is a dark, vivid blue. Relative luminance 0.051; OKLCH L 39.1% C 0.197 H 275.3°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#3128AB
RGBrgb(49, 40, 171)
HSLhsl(244, 62%, 41%)
HSVhsv(244, 77%, 67%)
CMYKcmyk(71.3%, 76.6%, 0%, 32.9%)
CIE-LABlab(27.05, 45.47, -67.83)
CIE-LCHlch(27.05, 81.66, 303.83°)
OKLaboklab(39.08% 0.0181 -0.1961)
OKLCHoklch(39.08% 0.197 275.3)
XYZxyz(9.3737, 5.1099, 39.0125)
Luminance0.0511 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3128AB #A2AB28
analogous
#2861AB #3128AB #7328AB
triadic
#3128AB #AB3128 #28AB31
tetradic
#3128AB #AB2861 #A2AB28 #28AB73
square
#3128AB #AB2861 #A2AB28 #28AB73
split-complementary
#3128AB #AB7328 #61AB28
monochromatic
#151148 #231C79 #3128AB #483ED2 #7770DE

Accessibility & contrast

On white

10.38
#3128AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#3128AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3128AB
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3128AB#FFFFFF#000000##FFFFFF
##3128AB1.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AF
Deuteranopia (green-blind)
#003AA9
Tritanopia (blue-blind)
#004F68
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3128ab;
/* rgb */ color: rgb(49, 40, 171);
/* oklch */ color: oklch(39.1% 0.197 275.3);
Tailwind
colors: {
  custom: {
    50: '#7c64c5',
    500: '#3128ab',
    950: '#000000',
  },
}
SCSS
$custom: #3128ab;
$custom-light: #7c64c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3128ab",
  "rgb": {
    "r": 49,
    "g": 40,
    "b": 171
  },
  "hsl": {
    "h": 244.122,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.39082,
    "c": 0.19698,
    "h": 275.3
  },
  "luminance": 0.05111
}

Semantic roles & 50–950 ramp

primary
#3128AB
secondary
#BEC46A
accent
#E543DA
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3128AB

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

Preview Lab → · Contrast checker → · Palette generator →

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