#3127B0#3127B0

#3127B0 is a dark, highly saturated blue. Relative luminance 0.052; OKLCH L 39.5% C 0.204 H 274.9°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#3127B0
RGBrgb(49, 39, 176)
HSLhsl(244, 64%, 42%)
HSVhsv(244, 78%, 69%)
CMYKcmyk(72.2%, 77.8%, 0%, 31%)
CIE-LABlab(27.40, 47.59, -70.25)
CIE-LCHlch(27.40, 84.85, 304.12°)
OKLaboklab(39.49% 0.0174 -0.2031)
OKLCHoklch(39.49% 0.204 274.9)
XYZxyz(9.8260, 5.2376, 41.5590)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3127B0 #A6B027
analogous
#2761B0 #3127B0 #7627B0
triadic
#3127B0 #B03127 #27B031
tetradic
#3127B0 #B02761 #A6B027 #27B076
square
#3127B0 #B02761 #A6B027 #27B076
split-complementary
#3127B0 #B07627 #61B027
monochromatic
#15114C #231C7E #3127B0 #4A40D5 #7A72E0

Accessibility & contrast

On white

10.25
#3127B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#3127B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3127B0
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3127B0#FFFFFF#000000##FFFFFF
##3127B01.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B4
Deuteranopia (green-blind)
#003AAE
Tritanopia (blue-blind)
#00506B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3127b0;
/* rgb */ color: rgb(49, 39, 176);
/* oklch */ color: oklch(39.5% 0.204 274.9);
Tailwind
colors: {
  custom: {
    50: '#7d64c9',
    500: '#3127b0',
    950: '#000000',
  },
}
SCSS
$custom: #3127b0;
$custom-light: #7d64c9;
$custom-dark: #000000;
JSON
{
  "hex": "#3127b0",
  "rgb": {
    "r": 49,
    "g": 39,
    "b": 176
  },
  "hsl": {
    "h": 244.38,
    "s": 63.721,
    "l": 42.157
  },
  "oklch": {
    "l": 0.39491,
    "c": 0.2039,
    "h": 274.9
  },
  "luminance": 0.05239
}

Semantic roles & 50–950 ramp

primary
#3127B0
secondary
#C0C76C
accent
#E741DB
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3127B0

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

Preview Lab → · Contrast checker → · Palette generator →

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