#3028C5#3028C5

#3028C5 is a dark, highly saturated blue. Relative luminance 0.062; OKLCH L 41.9% C 0.228 H 272.8°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#3028C5
RGBrgb(48, 40, 197)
HSLhsl(243, 66%, 46%)
HSVhsv(243, 80%, 77%)
CMYKcmyk(75.6%, 79.7%, 0%, 22.7%)
CIE-LABlab(29.85, 53.56, -78.64)
CIE-LCHlch(29.85, 95.14, 304.26°)
OKLaboklab(41.87% 0.0109 -0.2275)
OKLCHoklch(41.87% 0.228 272.8)
XYZxyz(12.0524, 6.1759, 53.3694)
Luminance0.0618 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3028C5 #BDC528
analogous
#286FC5 #3028C5 #7F28C5
triadic
#3028C5 #C53028 #28C530
tetradic
#3028C5 #C5286F #BDC528 #28C57F
square
#3028C5 #C5286F #BDC528 #28C57F
split-complementary
#3028C5 #C57F28 #6FC528
monochromatic
#17135F #241E92 #3028C5 #564FDB #8782E6

Accessibility & contrast

On white

9.39
#3028C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#3028C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3028C5
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3028C5#FFFFFF#000000##FFFFFF
##3028C51.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EC9
Deuteranopia (green-blind)
#003FC2
Tritanopia (blue-blind)
#005977
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3028c5;
/* rgb */ color: rgb(48, 40, 197);
/* oklch */ color: oklch(41.9% 0.228 272.8);
Tailwind
colors: {
  custom: {
    50: '#8266d8',
    500: '#3028c5',
    950: '#000000',
  },
}
SCSS
$custom: #3028c5;
$custom-light: #8266d8;
$custom-dark: #000000;
JSON
{
  "hex": "#3028c5",
  "rgb": {
    "r": 48,
    "g": 40,
    "b": 197
  },
  "hsl": {
    "h": 243.057,
    "s": 66.245,
    "l": 46.471
  },
  "oklch": {
    "l": 0.41871,
    "c": 0.2278,
    "h": 272.8
  },
  "luminance": 0.06177
}

Semantic roles & 50–950 ramp

primary
#3028C5
secondary
#CACE7A
accent
#E93FE0
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0C0615
muted
#7D7A83

Preview Lab

Preview with #3028C5

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

Preview Lab → · Contrast checker → · Palette generator →

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