#3127AF#3127AF

#3127AF is a dark, highly saturated blue. Relative luminance 0.052; OKLCH L 39.4% C 0.203 H 275.0°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#3127AF
RGBrgb(49, 39, 175)
HSLhsl(244, 64%, 42%)
HSVhsv(244, 78%, 69%)
CMYKcmyk(72%, 77.7%, 0%, 31.4%)
CIE-LABlab(27.29, 47.27, -69.83)
CIE-LCHlch(27.29, 84.33, 304.10°)
OKLaboklab(39.38% 0.0177 -0.2019)
OKLCHoklch(39.38% 0.203 275)
XYZxyz(9.7275, 5.1982, 41.0398)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3127AF #A5AF27
analogous
#2761AF #3127AF #7527AF
triadic
#3127AF #AF3127 #27AF31
tetradic
#3127AF #AF2761 #A5AF27 #27AF75
square
#3127AF #AF2761 #A5AF27 #27AF75
split-complementary
#3127AF #AF7527 #61AF27
monochromatic
#15114B #231C7D #3127AF #4A3FD4 #7971DF

Accessibility & contrast

On white

10.30
#3127AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#3127AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3127AF
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3127AF#FFFFFF#000000##FFFFFF
##3127AF1.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B3
Deuteranopia (green-blind)
#003AAD
Tritanopia (blue-blind)
#00506A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3127af;
/* rgb */ color: rgb(49, 39, 175);
/* oklch */ color: oklch(39.4% 0.203 275.0);
Tailwind
colors: {
  custom: {
    50: '#7d64c8',
    500: '#3127af',
    950: '#000000',
  },
}
SCSS
$custom: #3127af;
$custom-light: #7d64c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3127af",
  "rgb": {
    "r": 49,
    "g": 39,
    "b": 175
  },
  "hsl": {
    "h": 244.412,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.39383,
    "c": 0.2027,
    "h": 275
  },
  "luminance": 0.05199
}

Semantic roles & 50–950 ramp

primary
#3127AF
secondary
#C0C66B
accent
#E741DA
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3127AF

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

Preview Lab → · Contrast checker → · Palette generator →

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