#3128AC#3128AC

#3128AC is a dark, vivid blue. Relative luminance 0.051; OKLCH L 39.2% C 0.198 H 275.2°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#3128AC
RGBrgb(49, 40, 172)
HSLhsl(244, 62%, 42%)
HSVhsv(244, 77%, 67%)
CMYKcmyk(71.5%, 76.7%, 0%, 32.5%)
CIE-LABlab(27.15, 45.79, -68.26)
CIE-LCHlch(27.15, 82.19, 303.85°)
OKLaboklab(39.19% 0.0179 -0.1974)
OKLCHoklch(39.19% 0.198 275.2)
XYZxyz(9.4694, 5.1482, 39.5164)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3128AC #A3AC28
analogous
#2861AC #3128AC #7328AC
triadic
#3128AC #AC3128 #28AC31
tetradic
#3128AC #AC2861 #A3AC28 #28AC73
square
#3128AC #AC2861 #A3AC28 #28AC73
split-complementary
#3128AC #AC7328 #61AC28
monochromatic
#151149 #231C7A #3128AC #493FD2 #7871DE

Accessibility & contrast

On white

10.35
#3128AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#3128AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3128AC#FFFFFF#000000##FFFFFF
##3128AC1.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B0
Deuteranopia (green-blind)
#003AAA
Tritanopia (blue-blind)
#004F69
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3128ac;
/* rgb */ color: rgb(49, 40, 172);
/* oklch */ color: oklch(39.2% 0.198 275.2);
Tailwind
colors: {
  custom: {
    50: '#7c65c6',
    500: '#3128ac',
    950: '#000000',
  },
}
SCSS
$custom: #3128ac;
$custom-light: #7c65c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3128ac",
  "rgb": {
    "r": 49,
    "g": 40,
    "b": 172
  },
  "hsl": {
    "h": 244.091,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.39189,
    "c": 0.19819,
    "h": 275.2
  },
  "luminance": 0.05149
}

Semantic roles & 50–950 ramp

primary
#3128AC
secondary
#BFC56B
accent
#E542DA
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3128AC

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

Preview Lab → · Contrast checker → · Palette generator →

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