#3028A6#3028A6

#3028A6 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.5% C 0.191 H 275.4°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#3028A6
RGBrgb(48, 40, 166)
HSLhsl(244, 61%, 40%)
HSVhsv(244, 76%, 65%)
CMYKcmyk(71.1%, 75.9%, 0%, 34.9%)
CIE-LABlab(26.44, 43.75, -65.82)
CIE-LCHlch(26.44, 79.03, 303.61°)
OKLaboklab(38.48% 0.0179 -0.1903)
OKLCHoklch(38.48% 0.191 275.4)
XYZxyz(8.8584, 4.8983, 36.5476)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3028A6 #9EA628
analogous
#285FA6 #3028A6 #6F28A6
triadic
#3028A6 #A63028 #28A630
tetradic
#3028A6 #A6285F #9EA628 #28A66F
square
#3028A6 #A6285F #9EA628 #28A66F
split-complementary
#3028A6 #A66F28 #5FA628
monochromatic
#131043 #221C75 #3028A6 #453BD0 #746DDC

Accessibility & contrast

On white

10.61
#3028A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#3028A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3028A6
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3028A6#FFFFFF#000000##FFFFFF
##3028A61.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AA
Deuteranopia (green-blind)
#0039A4
Tritanopia (blue-blind)
#004D65
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3028a6;
/* rgb */ color: rgb(48, 40, 166);
/* oklch */ color: oklch(38.5% 0.191 275.4);
Tailwind
colors: {
  custom: {
    50: '#7a64c2',
    500: '#3028a6',
    950: '#000000',
  },
}
SCSS
$custom: #3028a6;
$custom-light: #7a64c2;
$custom-dark: #000000;
JSON
{
  "hex": "#3028a6",
  "rgb": {
    "r": 48,
    "g": 40,
    "b": 166
  },
  "hsl": {
    "h": 243.81,
    "s": 61.165,
    "l": 40.392
  },
  "oklch": {
    "l": 0.3848,
    "c": 0.19113,
    "h": 275.4
  },
  "luminance": 0.04899
}

Semantic roles & 50–950 ramp

primary
#3028A6
secondary
#BDC267
accent
#E444DA
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #3028A6

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

Preview Lab → · Contrast checker → · Palette generator →

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