#3028B2#3028B2

#3028B2 is a dark, highly saturated blue. Relative luminance 0.054; OKLCH L 39.8% C 0.206 H 274.3°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#3028B2
RGBrgb(48, 40, 178)
HSLhsl(243, 63%, 43%)
HSVhsv(243, 78%, 70%)
CMYKcmyk(73%, 77.5%, 0%, 30.2%)
CIE-LABlab(27.73, 47.62, -70.89)
CIE-LCHlch(27.73, 85.40, 303.89°)
OKLaboklab(39.77% 0.0153 -0.2051)
OKLCHoklch(39.77% 0.206 274.3)
XYZxyz(10.0109, 5.3593, 42.6177)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3028B2 #AAB228
analogous
#2865B2 #3028B2 #7528B2
triadic
#3028B2 #B23028 #28B230
tetradic
#3028B2 #B22865 #AAB228 #28B275
square
#3028B2 #B22865 #AAB228 #28B275
split-complementary
#3028B2 #B27528 #65B228
monochromatic
#15124E #231D80 #3028B2 #4B43D5 #7B75E0

Accessibility & contrast

On white

10.14
#3028B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#3028B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3028B2
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3028B2#FFFFFF#000000##FFFFFF
##3028B21.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B6
Deuteranopia (green-blind)
#003BB0
Tritanopia (blue-blind)
#00516C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3028b2;
/* rgb */ color: rgb(48, 40, 178);
/* oklch */ color: oklch(39.8% 0.206 274.3);
Tailwind
colors: {
  custom: {
    50: '#7d65ca',
    500: '#3028b2',
    950: '#000000',
  },
}
SCSS
$custom: #3028b2;
$custom-light: #7d65ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3028b2",
  "rgb": {
    "r": 48,
    "g": 40,
    "b": 178
  },
  "hsl": {
    "h": 243.478,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.39772,
    "c": 0.20563,
    "h": 274.3
  },
  "luminance": 0.0536
}

Semantic roles & 50–950 ramp

primary
#3028B2
secondary
#C2C76F
accent
#E641DD
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3028B2

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

Preview Lab → · Contrast checker → · Palette generator →

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