#3128AD#3128AD

#3128AD is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.3% C 0.199 H 275.1°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#3128AD
RGBrgb(49, 40, 173)
HSLhsl(244, 62%, 42%)
HSVhsv(244, 77%, 68%)
CMYKcmyk(71.7%, 76.9%, 0%, 32.2%)
CIE-LABlab(27.26, 46.11, -68.68)
CIE-LCHlch(27.26, 82.72, 303.87°)
OKLaboklab(39.3% 0.0177 -0.1986)
OKLCHoklch(39.3% 0.199 275.1)
XYZxyz(9.5658, 5.1868, 40.0241)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3128AD #A4AD28
analogous
#2862AD #3128AD #7428AD
triadic
#3128AD #AD3128 #28AD31
tetradic
#3128AD #AD2862 #A4AD28 #28AD74
square
#3128AD #AD2862 #A4AD28 #28AD74
split-complementary
#3128AD #AD7428 #62AD28
monochromatic
#15114A #231D7B #3128AD #493FD3 #7971DE

Accessibility & contrast

On white

10.31
#3128AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#3128AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3128AD#FFFFFF#000000##FFFFFF
##3128AD1.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3128ad;
/* rgb */ color: rgb(49, 40, 173);
/* oklch */ color: oklch(39.3% 0.199 275.1);
Tailwind
colors: {
  custom: {
    50: '#7c65c7',
    500: '#3128ad',
    950: '#000000',
  },
}
SCSS
$custom: #3128ad;
$custom-light: #7c65c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3128ad",
  "rgb": {
    "r": 49,
    "g": 40,
    "b": 173
  },
  "hsl": {
    "h": 244.06,
    "s": 62.441,
    "l": 41.765
  },
  "oklch": {
    "l": 0.39296,
    "c": 0.19939,
    "h": 275.1
  },
  "luminance": 0.05188
}

Semantic roles & 50–950 ramp

primary
#3128AD
secondary
#BFC56C
accent
#E642DA
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3128AD

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

Preview Lab → · Contrast checker → · Palette generator →

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