#3034C7#3034C7

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

Color values

HEX#3034C7
RGBrgb(48, 52, 199)
HSLhsl(238, 61%, 48%)
HSVhsv(238, 76%, 78%)
CMYKcmyk(75.9%, 73.9%, 0%, 22%)
CIE-LABlab(32.27, 47.90, -75.80)
CIE-LCHlch(32.27, 89.67, 302.29°)
OKLaboklab(43.64% 0.0061 -0.2194)
OKLCHoklch(43.64% 0.22 271.6)
XYZxyz(12.7522, 7.2065, 54.7407)
Luminance0.0721 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3034C7 #C7C330
analogous
#307FC7 #3034C7 #7830C7
triadic
#3034C7 #C73034 #34C730
tetradic
#3034C7 #C7307F #C7C330 #30C778
square
#3034C7 #C7307F #C7C330 #30C778
split-complementary
#3034C7 #C77830 #7FC730
monochromatic
#181A64 #242796 #3034C7 #5C60D8 #8E90E4

Accessibility & contrast

On white

8.60
#3034C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#3034C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3034C7
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3034C7#FFFFFF#000000##FFFFFF
##3034C71.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053CB
Deuteranopia (green-blind)
#0044C4
Tritanopia (blue-blind)
#005F7B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3034c7;
/* rgb */ color: rgb(48, 52, 199);
/* oklch */ color: oklch(43.6% 0.220 271.6);
Tailwind
colors: {
  custom: {
    50: '#816dd9',
    500: '#3034c7',
    950: '#000000',
  },
}
SCSS
$custom: #3034c7;
$custom-light: #816dd9;
$custom-dark: #000000;
JSON
{
  "hex": "#3034c7",
  "rgb": {
    "r": 48,
    "g": 52,
    "b": 199
  },
  "hsl": {
    "h": 238.411,
    "s": 61.134,
    "l": 48.431
  },
  "oklch": {
    "l": 0.43639,
    "c": 0.21953,
    "h": 271.6
  },
  "luminance": 0.07208
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3034C7

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

Preview Lab → · Contrast checker → · Palette generator →

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