#3128AF#3128AF

#3128AF is a dark, highly saturated blue. Relative luminance 0.053; OKLCH L 39.5% C 0.202 H 274.9°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#3128AF
RGBrgb(49, 40, 175)
HSLhsl(244, 63%, 42%)
HSVhsv(244, 77%, 69%)
CMYKcmyk(72%, 77.1%, 0%, 31.4%)
CIE-LABlab(27.48, 46.75, -69.52)
CIE-LCHlch(27.48, 83.78, 303.92°)
OKLaboklab(39.51% 0.0172 -0.2011)
OKLCHoklch(39.51% 0.202 274.9)
XYZxyz(9.7607, 5.2647, 41.0509)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3128AF #A6AF28
analogous
#2863AF #3128AF #7528AF
triadic
#3128AF #AF3128 #28AF31
tetradic
#3128AF #AF2863 #A6AF28 #28AF75
square
#3128AF #AF2863 #A6AF28 #28AF75
split-complementary
#3128AF #AF7528 #63AF28
monochromatic
#15114B #231D7D #3128AF #4A41D4 #7A73DF

Accessibility & contrast

On white

10.23
#3128AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#3128AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3128AF
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3128AF#FFFFFF#000000##FFFFFF
##3128AF1.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B3
Deuteranopia (green-blind)
#003BAD
Tritanopia (blue-blind)
#00506A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3128af;
/* rgb */ color: rgb(49, 40, 175);
/* oklch */ color: oklch(39.5% 0.202 274.9);
Tailwind
colors: {
  custom: {
    50: '#7d65c8',
    500: '#3128af',
    950: '#000000',
  },
}
SCSS
$custom: #3128af;
$custom-light: #7d65c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3128af",
  "rgb": {
    "r": 49,
    "g": 40,
    "b": 175
  },
  "hsl": {
    "h": 244,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.39512,
    "c": 0.2018,
    "h": 274.9
  },
  "luminance": 0.05266
}

Semantic roles & 50–950 ramp

primary
#3128AF
secondary
#C0C66D
accent
#E642DB
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3128AF

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

Preview Lab → · Contrast checker → · Palette generator →

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