#3028A4#3028A4

#3028A4 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.3% C 0.189 H 275.6°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#3028A4
RGBrgb(48, 40, 164)
HSLhsl(244, 61%, 40%)
HSVhsv(244, 76%, 64%)
CMYKcmyk(70.7%, 75.6%, 0%, 35.7%)
CIE-LABlab(26.23, 43.10, -64.95)
CIE-LCHlch(26.23, 77.95, 303.56°)
OKLaboklab(38.27% 0.0183 -0.1878)
OKLCHoklch(38.27% 0.189 275.6)
XYZxyz(8.6764, 4.8255, 35.5889)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3028A4 #9CA428
analogous
#285EA4 #3028A4 #6E28A4
triadic
#3028A4 #A43028 #28A430
tetradic
#3028A4 #A4285E #9CA428 #28A46E
square
#3028A4 #A4285E #9CA428 #28A46E
split-complementary
#3028A4 #A46E28 #5EA428
monochromatic
#131042 #221C73 #3028A4 #443ACF #736BDB

Accessibility & contrast

On white

10.69
#3028A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#3028A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3028A4
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3028A4#FFFFFF#000000##FFFFFF
##3028A41.0010.691.9710.69
#FFFFFF10.691.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A8
Deuteranopia (green-blind)
#0038A2
Tritanopia (blue-blind)
#004C64
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3028a4;
/* rgb */ color: rgb(48, 40, 164);
/* oklch */ color: oklch(38.3% 0.189 275.6);
Tailwind
colors: {
  custom: {
    50: '#7a64c0',
    500: '#3028a4',
    950: '#000000',
  },
}
SCSS
$custom: #3028a4;
$custom-light: #7a64c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3028a4",
  "rgb": {
    "r": 48,
    "g": 40,
    "b": 164
  },
  "hsl": {
    "h": 243.871,
    "s": 60.784,
    "l": 40
  },
  "oklch": {
    "l": 0.38268,
    "c": 0.18867,
    "h": 275.6
  },
  "luminance": 0.04826
}

Semantic roles & 50–950 ramp

primary
#3028A4
secondary
#BCC166
accent
#E444DA
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #3028A4

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

Preview Lab → · Contrast checker → · Palette generator →

#3028A4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva