#3022D2#3022D2

#3022D2 is a dark, highly saturated blue. Relative luminance 0.064; OKLCH L 42.7% C 0.247 H 272.2°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#3022D2
RGBrgb(48, 34, 210)
HSLhsl(245, 72%, 48%)
HSVhsv(245, 84%, 82%)
CMYKcmyk(77.1%, 83.8%, 0%, 17.6%)
CIE-LABlab(30.46, 60.11, -85.22)
CIE-LCHlch(30.46, 104.28, 305.20°)
OKLaboklab(42.73% 0.0094 -0.2465)
OKLCHoklch(42.73% 0.247 272.2)
XYZxyz(13.4199, 6.4241, 61.4930)
Luminance0.0643 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3022D2 #C4D222
analogous
#226CD2 #3022D2 #8822D2
triadic
#3022D2 #D23022 #22D230
tetradic
#3022D2 #D2226C #C4D222 #22D288
square
#3022D2 #D2226C #C4D222 #22D288
split-complementary
#3022D2 #D28822 #6CD222
monochromatic
#181169 #24199D #3022D2 #5A4FE2 #8C83EB

Accessibility & contrast

On white

9.19
#3022D2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#3022D2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3022D2
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3022D2#FFFFFF#000000##FFFFFF
##3022D21.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050D7
Deuteranopia (green-blind)
#003FCF
Tritanopia (blue-blind)
#005C7E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3022d2;
/* rgb */ color: rgb(48, 34, 210);
/* oklch */ color: oklch(42.7% 0.247 272.2);
Tailwind
colors: {
  custom: {
    50: '#8564e1',
    500: '#3022d2',
    950: '#000000',
  },
}
SCSS
$custom: #3022d2;
$custom-light: #8564e1;
$custom-dark: #000000;
JSON
{
  "hex": "#3022d2",
  "rgb": {
    "r": 48,
    "g": 34,
    "b": 210
  },
  "hsl": {
    "h": 244.773,
    "s": 72.131,
    "l": 47.843
  },
  "oklch": {
    "l": 0.42728,
    "c": 0.24667,
    "h": 272.2
  },
  "luminance": 0.06426
}

Semantic roles & 50–950 ramp

primary
#3022D2
secondary
#CDD47C
accent
#EF39E0
background
#F9F6FE
surface
#F1EBFC
border
#CBC6D5
text
#0D0616
muted
#7E7A84

Preview Lab

Preview with #3022D2

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

Preview Lab → · Contrast checker → · Palette generator →

#3022D2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva