#3128B1#3128B1

#3128B1 is a dark, highly saturated blue. Relative luminance 0.053; OKLCH L 39.7% C 0.204 H 274.7°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#3128B1
RGBrgb(49, 40, 177)
HSLhsl(244, 63%, 43%)
HSVhsv(244, 77%, 69%)
CMYKcmyk(72.3%, 77.4%, 0%, 30.6%)
CIE-LABlab(27.69, 47.39, -70.36)
CIE-LCHlch(27.69, 84.83, 303.96°)
OKLaboklab(39.73% 0.0168 -0.2035)
OKLCHoklch(39.73% 0.204 274.7)
XYZxyz(9.9586, 5.3439, 42.0931)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3128B1 #A8B128
analogous
#2863B1 #3128B1 #7628B1
triadic
#3128B1 #B13128 #28B131
tetradic
#3128B1 #B12863 #A8B128 #28B176
square
#3128B1 #B12863 #A8B128 #28B176
split-complementary
#3128B1 #B17628 #63B128
monochromatic
#15114D #231D7F #3128B1 #4C42D4 #7B74E0

Accessibility & contrast

On white

10.15
#3128B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#3128B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3128B1
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3128B1#FFFFFF#000000##FFFFFF
##3128B11.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B5
Deuteranopia (green-blind)
#003BAF
Tritanopia (blue-blind)
#00516B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3128b1;
/* rgb */ color: rgb(49, 40, 177);
/* oklch */ color: oklch(39.7% 0.204 274.7);
Tailwind
colors: {
  custom: {
    50: '#7d65ca',
    500: '#3128b1',
    950: '#000000',
  },
}
SCSS
$custom: #3128b1;
$custom-light: #7d65ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3128b1",
  "rgb": {
    "r": 49,
    "g": 40,
    "b": 177
  },
  "hsl": {
    "h": 243.942,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.39728,
    "c": 0.20419,
    "h": 274.7
  },
  "luminance": 0.05345
}

Semantic roles & 50–950 ramp

primary
#3128B1
secondary
#C1C76E
accent
#E642DB
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3128B1

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

Preview Lab → · Contrast checker → · Palette generator →

#3128B1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva