#3128B3#3128B3

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

Color values

HEX#3128B3
RGBrgb(49, 40, 179)
HSLhsl(244, 63%, 43%)
HSVhsv(244, 78%, 70%)
CMYKcmyk(72.6%, 77.7%, 0%, 29.8%)
CIE-LABlab(27.91, 48.02, -71.20)
CIE-LCHlch(27.91, 85.88, 304.00°)
OKLaboklab(39.95% 0.0163 -0.2059)
OKLCHoklch(39.95% 0.207 274.5)
XYZxyz(10.1594, 5.4242, 43.1507)
Luminance0.0542 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3128B3 #AAB328
analogous
#2864B3 #3128B3 #7628B3
triadic
#3128B3 #B33128 #28B331
tetradic
#3128B3 #B32864 #AAB328 #28B376
square
#3128B3 #B32864 #AAB328 #28B376
split-complementary
#3128B3 #B37628 #64B328
monochromatic
#16124F #231D81 #3128B3 #4D43D5 #7C75E0

Accessibility & contrast

On white

10.07
#3128B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#3128B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3128B3
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3128B3#FFFFFF#000000##FFFFFF
##3128B31.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B7
Deuteranopia (green-blind)
#003BB1
Tritanopia (blue-blind)
#00526D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3128b3;
/* rgb */ color: rgb(49, 40, 179);
/* oklch */ color: oklch(39.9% 0.207 274.5);
Tailwind
colors: {
  custom: {
    50: '#7e65cb',
    500: '#3128b3',
    950: '#000000',
  },
}
SCSS
$custom: #3128b3;
$custom-light: #7e65cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3128b3",
  "rgb": {
    "r": 49,
    "g": 40,
    "b": 179
  },
  "hsl": {
    "h": 243.885,
    "s": 63.47,
    "l": 42.941
  },
  "oklch": {
    "l": 0.39945,
    "c": 0.20656,
    "h": 274.5
  },
  "luminance": 0.05425
}

Semantic roles & 50–950 ramp

primary
#3128B3
secondary
#C2C86F
accent
#E641DC
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3128B3

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

Preview Lab → · Contrast checker → · Palette generator →

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