#3127B7#3127B7

#3127B7 is a dark, highly saturated blue. Relative luminance 0.055; OKLCH L 40.3% C 0.212 H 274.3°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#3127B7
RGBrgb(49, 39, 183)
HSLhsl(244, 65%, 44%)
HSVhsv(244, 79%, 72%)
CMYKcmyk(73.2%, 78.7%, 0%, 28.2%)
CIE-LABlab(28.17, 49.79, -73.15)
CIE-LCHlch(28.17, 88.49, 304.24°)
OKLaboklab(40.26% 0.0158 -0.2116)
OKLCHoklch(40.26% 0.212 274.3)
XYZxyz(10.5366, 5.5218, 45.3011)
Luminance0.0552 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3127B7 #ADB727
analogous
#2765B7 #3127B7 #7927B7
triadic
#3127B7 #B73127 #27B731
tetradic
#3127B7 #B72765 #ADB727 #27B779
square
#3127B7 #B72765 #ADB727 #27B779
split-complementary
#3127B7 #B77927 #65B727
monochromatic
#161152 #231C85 #3127B7 #4E44D7 #7E76E2

Accessibility & contrast

On white

9.98
#3127B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#3127B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3127B7
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3127B7#FFFFFF#000000##FFFFFF
##3127B71.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049BB
Deuteranopia (green-blind)
#003CB5
Tritanopia (blue-blind)
#00536F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3127b7;
/* rgb */ color: rgb(49, 39, 183);
/* oklch */ color: oklch(40.3% 0.212 274.3);
Tailwind
colors: {
  custom: {
    50: '#7f65ce',
    500: '#3127b7',
    950: '#000000',
  },
}
SCSS
$custom: #3127b7;
$custom-light: #7f65ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3127b7",
  "rgb": {
    "r": 49,
    "g": 39,
    "b": 183
  },
  "hsl": {
    "h": 244.167,
    "s": 64.865,
    "l": 43.529
  },
  "oklch": {
    "l": 0.40258,
    "c": 0.21217,
    "h": 274.3
  },
  "luminance": 0.05523
}

Semantic roles & 50–950 ramp

primary
#3127B7
secondary
#C3C970
accent
#E840DC
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #3127B7

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

Preview Lab → · Contrast checker → · Palette generator →

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