#3030CF#3030CF

#3030CF is a dark, highly saturated blue. Relative luminance 0.072; OKLCH L 44.0% C 0.233 H 271.5°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#3030CF
RGBrgb(48, 48, 207)
HSLhsl(240, 62%, 50%)
HSVhsv(240, 77%, 81%)
CMYKcmyk(76.8%, 76.8%, 0%, 18.8%)
CIE-LABlab(32.36, 52.65, -80.32)
CIE-LCHlch(32.36, 96.04, 303.25°)
OKLaboklab(43.95% 0.0062 -0.2325)
OKLCHoklch(43.95% 0.233 271.5)
XYZxyz(13.5346, 7.2458, 59.7047)
Luminance0.0725 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3030CF #CFCF30
analogous
#307FCF #3030CF #7F30CF
triadic
#3030CF #CF3030 #30CF30
tetradic
#3030CF #CF3080 #CFCF30 #30CF80
square
#3030CF #CF3080 #CFCF30 #30CF80
split-complementary
#3030CF #CF8030 #80CF30
monochromatic
#19196C #24249D #3030CF #6262DB #9393E6

Accessibility & contrast

On white

8.57
#3030CF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#3030CF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3030CF
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3030CF#FFFFFF#000000##FFFFFF
##3030CF1.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054D3
Deuteranopia (green-blind)
#0044CC
Tritanopia (blue-blind)
#00607E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3030cf;
/* rgb */ color: rgb(48, 48, 207);
/* oklch */ color: oklch(44.0% 0.233 271.5);
Tailwind
colors: {
  custom: {
    50: '#836bdf',
    500: '#3030cf',
    950: '#000000',
  },
}
SCSS
$custom: #3030cf;
$custom-light: #836bdf;
$custom-dark: #000000;
JSON
{
  "hex": "#3030cf",
  "rgb": {
    "r": 48,
    "g": 48,
    "b": 207
  },
  "hsl": {
    "h": 240,
    "s": 62.353,
    "l": 50
  },
  "oklch": {
    "l": 0.43951,
    "c": 0.23261,
    "h": 271.5
  },
  "luminance": 0.07247
}

Semantic roles & 50–950 ramp

primary
#3030CF
secondary
#D1D18A
accent
#E542E5
background
#F9F6FD
surface
#F1EBFB
border
#CBC6D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #3030CF

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

Preview Lab → · Contrast checker → · Palette generator →

#3030CF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva