#3034C6#3034C6

#3034C6 is a dark, highly saturated blue. Relative luminance 0.072; OKLCH L 43.5% C 0.218 H 271.6°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#3034C6
RGBrgb(48, 52, 198)
HSLhsl(238, 61%, 48%)
HSVhsv(238, 76%, 78%)
CMYKcmyk(75.8%, 73.7%, 0%, 22.4%)
CIE-LABlab(32.17, 47.57, -75.39)
CIE-LCHlch(32.17, 89.14, 302.25°)
OKLaboklab(43.53% 0.0063 -0.2182)
OKLCHoklch(43.53% 0.218 271.6)
XYZxyz(12.6365, 7.1602, 54.1312)
Luminance0.0716 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3034C6 #C6C230
analogous
#307FC6 #3034C6 #7730C6
triadic
#3034C6 #C63034 #34C630
tetradic
#3034C6 #C6307F #C6C230 #30C677
square
#3034C6 #C6307F #C6C230 #30C677
split-complementary
#3034C6 #C67730 #7FC630
monochromatic
#181A63 #242795 #3034C6 #5C5FD7 #8D8FE3

Accessibility & contrast

On white

8.63
#3034C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#3034C6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3034C6
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3034C6#FFFFFF#000000##FFFFFF
##3034C61.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053CA
Deuteranopia (green-blind)
#0044C3
Tritanopia (blue-blind)
#005E7A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3034c6;
/* rgb */ color: rgb(48, 52, 198);
/* oklch */ color: oklch(43.5% 0.218 271.6);
Tailwind
colors: {
  custom: {
    50: '#816dd9',
    500: '#3034c6',
    950: '#000000',
  },
}
SCSS
$custom: #3034c6;
$custom-light: #816dd9;
$custom-dark: #000000;
JSON
{
  "hex": "#3034c6",
  "rgb": {
    "r": 48,
    "g": 52,
    "b": 198
  },
  "hsl": {
    "h": 238.4,
    "s": 60.976,
    "l": 48.235
  },
  "oklch": {
    "l": 0.43534,
    "c": 0.21833,
    "h": 271.6
  },
  "luminance": 0.07162
}

Semantic roles & 50–950 ramp

primary
#3034C6
secondary
#CECC84
accent
#E044E4
background
#F8F6FD
surface
#F0ECFB
border
#CBC7D4
text
#0C0715
muted
#7D7A83

Preview Lab

Preview with #3034C6

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

Preview Lab → · Contrast checker → · Palette generator →

#3034C6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva