#3028BA#3028BA

#3028BA is a dark, highly saturated blue. Relative luminance 0.057; OKLCH L 40.6% C 0.215 H 273.6°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#3028BA
RGBrgb(48, 40, 186)
HSLhsl(243, 65%, 44%)
HSVhsv(243, 78%, 73%)
CMYKcmyk(74.2%, 78.5%, 0%, 27.1%)
CIE-LABlab(28.62, 50.15, -74.20)
CIE-LCHlch(28.62, 89.55, 304.05°)
OKLaboklab(40.65% 0.0135 -0.2146)
OKLCHoklch(40.65% 0.215 273.6)
XYZxyz(10.8377, 5.6900, 46.9720)
Luminance0.0569 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3028BA #B2BA28
analogous
#2869BA #3028BA #7928BA
triadic
#3028BA #BA3028 #28BA30
tetradic
#3028BA #BA2869 #B2BA28 #28BA79
square
#3028BA #BA2869 #B2BA28 #28BA79
split-complementary
#3028BA #BA7928 #69BA28
monochromatic
#161255 #231D88 #3028BA #5048D8 #807AE2

Accessibility & contrast

On white

9.82
#3028BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#3028BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3028BA
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3028BA#FFFFFF#000000##FFFFFF
##3028BA1.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004ABE
Deuteranopia (green-blind)
#003CB7
Tritanopia (blue-blind)
#005571
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3028ba;
/* rgb */ color: rgb(48, 40, 186);
/* oklch */ color: oklch(40.6% 0.215 273.6);
Tailwind
colors: {
  custom: {
    50: '#7f65d0',
    500: '#3028ba',
    950: '#000000',
  },
}
SCSS
$custom: #3028ba;
$custom-light: #7f65d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3028ba",
  "rgb": {
    "r": 48,
    "g": 40,
    "b": 186
  },
  "hsl": {
    "h": 243.288,
    "s": 64.602,
    "l": 44.314
  },
  "oklch": {
    "l": 0.40649,
    "c": 0.21507,
    "h": 273.6
  },
  "luminance": 0.05691
}

Semantic roles & 50–950 ramp

primary
#3028BA
secondary
#C6CA73
accent
#E840DE
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #3028BA

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

Preview Lab → · Contrast checker → · Palette generator →

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