#3028A2#3028A2

#3028A2 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.1% C 0.186 H 275.8°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#3028A2
RGBrgb(48, 40, 162)
HSLhsl(244, 60%, 40%)
HSVhsv(244, 75%, 64%)
CMYKcmyk(70.4%, 75.3%, 0%, 36.5%)
CIE-LABlab(26.02, 42.44, -64.09)
CIE-LCHlch(26.02, 76.87, 303.52°)
OKLaboklab(38.06% 0.0188 -0.1853)
OKLCHoklch(38.06% 0.186 275.8)
XYZxyz(8.4972, 4.7538, 34.6452)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3028A2 #9AA228
analogous
#285DA2 #3028A2 #6D28A2
triadic
#3028A2 #A23028 #28A230
tetradic
#3028A2 #A2285D #9AA228 #28A26D
square
#3028A2 #A2285D #9AA228 #28A26D
split-complementary
#3028A2 #A26D28 #5DA228
monochromatic
#131040 #211C71 #3028A2 #4339CE #726ADA

Accessibility & contrast

On white

10.76
#3028A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#3028A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3028A2
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3028A2#FFFFFF#000000##FFFFFF
##3028A21.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A6
Deuteranopia (green-blind)
#0038A0
Tritanopia (blue-blind)
#004B63
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3028a2;
/* rgb */ color: rgb(48, 40, 162);
/* oklch */ color: oklch(38.1% 0.186 275.8);
Tailwind
colors: {
  custom: {
    50: '#7a64bf',
    500: '#3028a2',
    950: '#000000',
  },
}
SCSS
$custom: #3028a2;
$custom-light: #7a64bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3028a2",
  "rgb": {
    "r": 48,
    "g": 40,
    "b": 162
  },
  "hsl": {
    "h": 243.934,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.38057,
    "c": 0.18621,
    "h": 275.8
  },
  "luminance": 0.04755
}

Semantic roles & 50–950 ramp

primary
#3028A2
secondary
#BBC165
accent
#E444D9
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #3028A2

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

Preview Lab → · Contrast checker → · Palette generator →

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