#3030CA#3030CA

#3030CA is a dark, highly saturated blue. Relative luminance 0.070; OKLCH L 43.4% C 0.227 H 271.8°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#3030CA
RGBrgb(48, 48, 202)
HSLhsl(240, 62%, 49%)
HSVhsv(240, 76%, 79%)
CMYKcmyk(76.2%, 76.2%, 0%, 20.8%)
CIE-LABlab(31.82, 51.06, -78.30)
CIE-LCHlch(31.82, 93.48, 303.11°)
OKLaboklab(43.41% 0.0071 -0.2267)
OKLCHoklch(43.41% 0.227 271.8)
XYZxyz(12.9330, 7.0051, 56.5362)
Luminance0.0701 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3030CA #CACA30
analogous
#307DCA #3030CA #7D30CA
triadic
#3030CA #CA3030 #30CA30
tetradic
#3030CA #CA307D #CACA30 #30CA7D
square
#3030CA #CA307D #CACA30 #30CA7D
split-complementary
#3030CA #CA7D30 #7DCA30
monochromatic
#181867 #242499 #3030CA #5E5ED9 #9090E5

Accessibility & contrast

On white

8.74
#3030CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#3030CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3030CA
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3030CA#FFFFFF#000000##FFFFFF
##3030CA1.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052CE
Deuteranopia (green-blind)
#0043C7
Tritanopia (blue-blind)
#005E7C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3030ca;
/* rgb */ color: rgb(48, 48, 202);
/* oklch */ color: oklch(43.4% 0.227 271.8);
Tailwind
colors: {
  custom: {
    50: '#826bdc',
    500: '#3030ca',
    950: '#000000',
  },
}
SCSS
$custom: #3030ca;
$custom-light: #826bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#3030ca",
  "rgb": {
    "r": 48,
    "g": 48,
    "b": 202
  },
  "hsl": {
    "h": 240,
    "s": 61.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.43411,
    "c": 0.22679,
    "h": 271.8
  },
  "luminance": 0.07007
}

Semantic roles & 50–950 ramp

primary
#3030CA
secondary
#CFCF87
accent
#E543E5
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0D0715
muted
#7D7A83

Preview Lab

Preview with #3030CA

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

Preview Lab → · Contrast checker → · Palette generator →

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