#3127B3#3127B3

#3127B3 is a dark, highly saturated blue. Relative luminance 0.054; OKLCH L 39.8% C 0.207 H 274.6°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#3127B3
RGBrgb(49, 39, 179)
HSLhsl(244, 64%, 43%)
HSVhsv(244, 78%, 70%)
CMYKcmyk(72.6%, 78.2%, 0%, 29.8%)
CIE-LABlab(27.73, 48.54, -71.50)
CIE-LCHlch(27.73, 86.41, 304.17°)
OKLaboklab(39.82% 0.0167 -0.2068)
OKLCHoklch(39.82% 0.207 274.6)
XYZxyz(10.1261, 5.3577, 43.1396)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3127B3 #A9B327
analogous
#2763B3 #3127B3 #7727B3
triadic
#3127B3 #B33127 #27B331
tetradic
#3127B3 #B32763 #A9B327 #27B377
square
#3127B3 #B32763 #A9B327 #27B377
split-complementary
#3127B3 #B37727 #63B327
monochromatic
#15114E #231C81 #3127B3 #4C41D6 #7C74E1

Accessibility & contrast

On white

10.14
#3127B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#3127B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3127B3
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3127B3#FFFFFF#000000##FFFFFF
##3127B31.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B7
Deuteranopia (green-blind)
#003BB1
Tritanopia (blue-blind)
#00516C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3127b3;
/* rgb */ color: rgb(49, 39, 179);
/* oklch */ color: oklch(39.8% 0.207 274.6);
Tailwind
colors: {
  custom: {
    50: '#7e64cb',
    500: '#3127b3',
    950: '#000000',
  },
}
SCSS
$custom: #3127b3;
$custom-light: #7e64cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3127b3",
  "rgb": {
    "r": 49,
    "g": 39,
    "b": 179
  },
  "hsl": {
    "h": 244.286,
    "s": 64.22,
    "l": 42.745
  },
  "oklch": {
    "l": 0.39819,
    "c": 0.20746,
    "h": 274.6
  },
  "luminance": 0.05359
}

Semantic roles & 50–950 ramp

primary
#3127B3
secondary
#C1C86E
accent
#E741DB
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3127B3

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

Preview Lab → · Contrast checker → · Palette generator →

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