#3127AD#3127AD

#3127AD is a dark, highly saturated blue. Relative luminance 0.051; OKLCH L 39.2% C 0.200 H 275.2°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#3127AD
RGBrgb(49, 39, 173)
HSLhsl(244, 63%, 42%)
HSVhsv(244, 77%, 68%)
CMYKcmyk(71.7%, 77.5%, 0%, 32.2%)
CIE-LABlab(27.07, 46.64, -68.99)
CIE-LCHlch(27.07, 83.27, 304.06°)
OKLaboklab(39.17% 0.0181 -0.1995)
OKLCHoklch(39.17% 0.2 275.2)
XYZxyz(9.5325, 5.1202, 40.0130)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3127AD #A3AD27
analogous
#2760AD #3127AD #7427AD
triadic
#3127AD #AD3127 #27AD31
tetradic
#3127AD #AD2760 #A3AD27 #27AD74
square
#3127AD #AD2760 #A3AD27 #27AD74
split-complementary
#3127AD #AD7427 #60AD27
monochromatic
#151049 #231C7B #3127AD #493ED3 #7870DF

Accessibility & contrast

On white

10.37
#3127AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#3127AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3127AD
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3127AD#FFFFFF#000000##FFFFFF
##3127AD1.0010.372.0210.37
#FFFFFF10.371.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.371.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: #3127ad;
/* rgb */ color: rgb(49, 39, 173);
/* oklch */ color: oklch(39.2% 0.200 275.2);
Tailwind
colors: {
  custom: {
    50: '#7d64c7',
    500: '#3127ad',
    950: '#000000',
  },
}
SCSS
$custom: #3127ad;
$custom-light: #7d64c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3127ad",
  "rgb": {
    "r": 49,
    "g": 39,
    "b": 173
  },
  "hsl": {
    "h": 244.478,
    "s": 63.208,
    "l": 41.569
  },
  "oklch": {
    "l": 0.39166,
    "c": 0.20031,
    "h": 275.2
  },
  "luminance": 0.05121
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3127AD

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

Preview Lab → · Contrast checker → · Palette generator →

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