#3028B8#3028B8

#3028B8 is a dark, highly saturated blue. Relative luminance 0.056; OKLCH L 40.4% C 0.213 H 273.7°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#3028B8
RGBrgb(48, 40, 184)
HSLhsl(243, 64%, 44%)
HSVhsv(243, 78%, 72%)
CMYKcmyk(73.9%, 78.3%, 0%, 27.8%)
CIE-LABlab(28.39, 49.52, -73.38)
CIE-LCHlch(28.39, 88.52, 304.01°)
OKLaboklab(40.43% 0.0139 -0.2123)
OKLCHoklch(40.43% 0.213 273.7)
XYZxyz(10.6266, 5.6056, 45.8601)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3028B8 #B0B828
analogous
#2868B8 #3028B8 #7828B8
triadic
#3028B8 #B83028 #28B830
tetradic
#3028B8 #B82868 #B0B828 #28B878
square
#3028B8 #B82868 #B0B828 #28B878
split-complementary
#3028B8 #B87828 #68B828
monochromatic
#161253 #231D86 #3028B8 #4E46D7 #7E79E2

Accessibility & contrast

On white

9.90
#3028B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#3028B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3028B8
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3028B8#FFFFFF#000000##FFFFFF
##3028B81.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004ABC
Deuteranopia (green-blind)
#003CB6
Tritanopia (blue-blind)
#00546F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3028b8;
/* rgb */ color: rgb(48, 40, 184);
/* oklch */ color: oklch(40.4% 0.213 273.7);
Tailwind
colors: {
  custom: {
    50: '#7f65cf',
    500: '#3028b8',
    950: '#000000',
  },
}
SCSS
$custom: #3028b8;
$custom-light: #7f65cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3028b8",
  "rgb": {
    "r": 48,
    "g": 40,
    "b": 184
  },
  "hsl": {
    "h": 243.333,
    "s": 64.286,
    "l": 43.922
  },
  "oklch": {
    "l": 0.40429,
    "c": 0.21273,
    "h": 273.7
  },
  "luminance": 0.05607
}

Semantic roles & 50–950 ramp

primary
#3028B8
secondary
#C5CA72
accent
#E741DE
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #3028B8

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

Preview Lab → · Contrast checker → · Palette generator →

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