#3128B9#3128B9

#3128B9 is a dark, highly saturated blue. Relative luminance 0.057; OKLCH L 40.6% C 0.214 H 274.0°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#3128B9
RGBrgb(49, 40, 185)
HSLhsl(244, 64%, 44%)
HSVhsv(244, 78%, 73%)
CMYKcmyk(73.5%, 78.4%, 0%, 27.5%)
CIE-LABlab(28.57, 49.91, -73.68)
CIE-LCHlch(28.57, 88.99, 304.11°)
OKLaboklab(40.6% 0.0149 -0.2131)
OKLCHoklch(40.6% 0.214 274)
XYZxyz(10.7795, 5.6722, 46.4163)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3128B9 #B0B928
analogous
#2868B9 #3128B9 #7A28B9
triadic
#3128B9 #B93128 #28B931
tetradic
#3128B9 #B92868 #B0B928 #28B97A
square
#3128B9 #B92868 #B0B928 #28B97A
split-complementary
#3128B9 #B97A28 #68B928
monochromatic
#161254 #241D87 #3128B9 #5047D7 #8079E2

Accessibility & contrast

On white

9.84
#3128B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#3128B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3128B9
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3128B9#FFFFFF#000000##FFFFFF
##3128B91.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004ABD
Deuteranopia (green-blind)
#003CB6
Tritanopia (blue-blind)
#005470
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3128b9;
/* rgb */ color: rgb(49, 40, 185);
/* oklch */ color: oklch(40.6% 0.214 274.0);
Tailwind
colors: {
  custom: {
    50: '#7f65cf',
    500: '#3128b9',
    950: '#000000',
  },
}
SCSS
$custom: #3128b9;
$custom-light: #7f65cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3128b9",
  "rgb": {
    "r": 49,
    "g": 40,
    "b": 185
  },
  "hsl": {
    "h": 243.724,
    "s": 64.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.40601,
    "c": 0.21365,
    "h": 274
  },
  "luminance": 0.05673
}

Semantic roles & 50–950 ramp

primary
#3128B9
secondary
#C5CA73
accent
#E740DD
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #3128B9

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

Preview Lab → · Contrast checker → · Palette generator →

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