#3128A8#3128A8

#3128A8 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.8% C 0.193 H 275.6°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#3128A8
RGBrgb(49, 40, 168)
HSLhsl(244, 62%, 41%)
HSVhsv(244, 76%, 66%)
CMYKcmyk(70.8%, 76.2%, 0%, 34.1%)
CIE-LABlab(26.73, 44.50, -66.56)
CIE-LCHlch(26.73, 80.06, 303.77°)
OKLaboklab(38.76% 0.0188 -0.1924)
OKLCHoklch(38.76% 0.193 275.6)
XYZxyz(9.0910, 4.9968, 37.5236)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3128A8 #9FA828
analogous
#285FA8 #3128A8 #7128A8
triadic
#3128A8 #A83128 #28A831
tetradic
#3128A8 #A8285F #9FA828 #28A871
square
#3128A8 #A8285F #9FA828 #28A871
split-complementary
#3128A8 #A87128 #5FA828
monochromatic
#141045 #231C77 #3128A8 #473DD1 #766EDC

Accessibility & contrast

On white

10.50
#3128A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#3128A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3128A8
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3128A8#FFFFFF#000000##FFFFFF
##3128A81.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AC
Deuteranopia (green-blind)
#0039A6
Tritanopia (blue-blind)
#004D66
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3128a8;
/* rgb */ color: rgb(49, 40, 168);
/* oklch */ color: oklch(38.8% 0.193 275.6);
Tailwind
colors: {
  custom: {
    50: '#7b64c3',
    500: '#3128a8',
    950: '#000000',
  },
}
SCSS
$custom: #3128a8;
$custom-light: #7b64c3;
$custom-dark: #000000;
JSON
{
  "hex": "#3128a8",
  "rgb": {
    "r": 49,
    "g": 40,
    "b": 168
  },
  "hsl": {
    "h": 244.219,
    "s": 61.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.38761,
    "c": 0.19333,
    "h": 275.6
  },
  "luminance": 0.04998
}

Semantic roles & 50–950 ramp

primary
#3128A8
secondary
#BDC369
accent
#E543D9
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3128A8

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

Preview Lab → · Contrast checker → · Palette generator →

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