#3128AA#3128AA

#3128AA is a dark, vivid blue. Relative luminance 0.051; OKLCH L 39.0% C 0.196 H 275.4°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#3128AA
RGBrgb(49, 40, 170)
HSLhsl(244, 62%, 41%)
HSVhsv(244, 76%, 67%)
CMYKcmyk(71.2%, 76.5%, 0%, 33.3%)
CIE-LABlab(26.94, 45.14, -67.41)
CIE-LCHlch(26.94, 81.13, 303.81°)
OKLaboklab(38.98% 0.0183 -0.1949)
OKLCHoklch(38.98% 0.196 275.4)
XYZxyz(9.2787, 5.0719, 38.5124)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3128AA #A1AA28
analogous
#2860AA #3128AA #7228AA
triadic
#3128AA #AA3128 #28AA31
tetradic
#3128AA #AA2860 #A1AA28 #28AA72
square
#3128AA #AA2860 #A1AA28 #28AA72
split-complementary
#3128AA #AA7228 #60AA28
monochromatic
#141147 #231C78 #3128AA #483ED2 #776FDD

Accessibility & contrast

On white

10.42
#3128AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#3128AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3128AA#FFFFFF#000000##FFFFFF
##3128AA1.0010.422.0110.42
#FFFFFF10.421.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AE
Deuteranopia (green-blind)
#003AA8
Tritanopia (blue-blind)
#004E67
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3128aa;
/* rgb */ color: rgb(49, 40, 170);
/* oklch */ color: oklch(39.0% 0.196 275.4);
Tailwind
colors: {
  custom: {
    50: '#7c64c5',
    500: '#3128aa',
    950: '#000000',
  },
}
SCSS
$custom: #3128aa;
$custom-light: #7c64c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3128aa",
  "rgb": {
    "r": 49,
    "g": 40,
    "b": 170
  },
  "hsl": {
    "h": 244.154,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.38975,
    "c": 0.19577,
    "h": 275.4
  },
  "luminance": 0.05073
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3128AA

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

Preview Lab → · Contrast checker → · Palette generator →

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