#3028AB#3028AB

#3028AB is a dark, vivid blue. Relative luminance 0.051; OKLCH L 39.0% C 0.197 H 274.9°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#3028AB
RGBrgb(48, 40, 171)
HSLhsl(244, 62%, 41%)
HSVhsv(244, 77%, 67%)
CMYKcmyk(71.9%, 76.6%, 0%, 32.9%)
CIE-LABlab(26.98, 45.37, -67.95)
CIE-LCHlch(26.98, 81.71, 303.73°)
OKLaboklab(39.02% 0.0168 -0.1965)
OKLCHoklch(39.02% 0.197 274.9)
XYZxyz(9.3260, 5.0853, 39.0103)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3028AB #A3AB28
analogous
#2862AB #3028AB #7228AB
triadic
#3028AB #AB3028 #28AB30
tetradic
#3028AB #AB2862 #A3AB28 #28AB72
square
#3028AB #AB2862 #A3AB28 #28AB72
split-complementary
#3028AB #AB7228 #62AB28
monochromatic
#141148 #221C79 #3028AB #473ED2 #7770DE

Accessibility & contrast

On white

10.41
#3028AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#3028AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3028AB
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3028AB#FFFFFF#000000##FFFFFF
##3028AB1.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AF
Deuteranopia (green-blind)
#003AA9
Tritanopia (blue-blind)
#004F68
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3028ab;
/* rgb */ color: rgb(48, 40, 171);
/* oklch */ color: oklch(39.0% 0.197 274.9);
Tailwind
colors: {
  custom: {
    50: '#7c64c5',
    500: '#3028ab',
    950: '#000000',
  },
}
SCSS
$custom: #3028ab;
$custom-light: #7c64c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3028ab",
  "rgb": {
    "r": 48,
    "g": 40,
    "b": 171
  },
  "hsl": {
    "h": 243.664,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.39015,
    "c": 0.19723,
    "h": 274.9
  },
  "luminance": 0.05086
}

Semantic roles & 50–950 ramp

primary
#3028AB
secondary
#BFC46A
accent
#E543DB
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3028AB

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

Preview Lab → · Contrast checker → · Palette generator →

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