#3028BB#3028BB

#3028BB is a dark, highly saturated blue. Relative luminance 0.057; OKLCH L 40.8% C 0.216 H 273.5°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#3028BB
RGBrgb(48, 40, 187)
HSLhsl(243, 65%, 45%)
HSVhsv(243, 79%, 73%)
CMYKcmyk(74.3%, 78.6%, 0%, 26.7%)
CIE-LABlab(28.73, 50.46, -74.60)
CIE-LCHlch(28.73, 90.07, 304.07°)
OKLaboklab(40.76% 0.0132 -0.2158)
OKLCHoklch(40.76% 0.216 273.5)
XYZxyz(10.9444, 5.7327, 47.5338)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3028BB #B3BB28
analogous
#286ABB #3028BB #7928BB
triadic
#3028BB #BB3028 #28BB30
tetradic
#3028BB #BB286A #B3BB28 #28BB79
square
#3028BB #BB286A #B3BB28 #28BB79
split-complementary
#3028BB #BB7928 #6ABB28
monochromatic
#161256 #231D89 #3028BB #5048D8 #807BE3

Accessibility & contrast

On white

9.78
#3028BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#3028BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3028BB
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3028BB#FFFFFF#000000##FFFFFF
##3028BB1.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004ABF
Deuteranopia (green-blind)
#003DB8
Tritanopia (blue-blind)
#005571
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3028bb;
/* rgb */ color: rgb(48, 40, 187);
/* oklch */ color: oklch(40.8% 0.216 273.5);
Tailwind
colors: {
  custom: {
    50: '#7f65d1',
    500: '#3028bb',
    950: '#000000',
  },
}
SCSS
$custom: #3028bb;
$custom-light: #7f65d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3028bb",
  "rgb": {
    "r": 48,
    "g": 40,
    "b": 187
  },
  "hsl": {
    "h": 243.265,
    "s": 64.758,
    "l": 44.51
  },
  "oklch": {
    "l": 0.40759,
    "c": 0.21624,
    "h": 273.5
  },
  "luminance": 0.05734
}

Semantic roles & 50–950 ramp

primary
#3028BB
secondary
#C6CB74
accent
#E840DF
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #3028BB

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

Preview Lab → · Contrast checker → · Palette generator →

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