#3034C8#3034C8

#3034C8 is a dark, highly saturated blue. Relative luminance 0.073; OKLCH L 43.7% C 0.221 H 271.5°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#3034C8
RGBrgb(48, 52, 200)
HSLhsl(238, 61%, 49%)
HSVhsv(238, 76%, 78%)
CMYKcmyk(76%, 74%, 0%, 21.6%)
CIE-LABlab(32.38, 48.23, -76.21)
CIE-LCHlch(32.38, 90.19, 302.32°)
OKLaboklab(43.74% 0.006 -0.2206)
OKLCHoklch(43.74% 0.221 271.5)
XYZxyz(12.8687, 7.2531, 55.3542)
Luminance0.0725 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3034C8 #C8C430
analogous
#3080C8 #3034C8 #7830C8
triadic
#3034C8 #C83034 #34C830
tetradic
#3034C8 #C83080 #C8C430 #30C878
square
#3034C8 #C83080 #C8C430 #30C878
split-complementary
#3034C8 #C87830 #80C830
monochromatic
#181A65 #242797 #3034C8 #5D60D8 #8E91E4

Accessibility & contrast

On white

8.57
#3034C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#3034C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3034C8
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3034C8#FFFFFF#000000##FFFFFF
##3034C81.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)
#0054CC
Deuteranopia (green-blind)
#0045C5
Tritanopia (blue-blind)
#005F7B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3034c8;
/* rgb */ color: rgb(48, 52, 200);
/* oklch */ color: oklch(43.7% 0.221 271.5);
Tailwind
colors: {
  custom: {
    50: '#816dda',
    500: '#3034c8',
    950: '#000000',
  },
}
SCSS
$custom: #3034c8;
$custom-light: #816dda;
$custom-dark: #000000;
JSON
{
  "hex": "#3034c8",
  "rgb": {
    "r": 48,
    "g": 52,
    "b": 200
  },
  "hsl": {
    "h": 238.421,
    "s": 61.29,
    "l": 48.627
  },
  "oklch": {
    "l": 0.43743,
    "c": 0.22073,
    "h": 271.5
  },
  "luminance": 0.07254
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3034C8

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

Preview Lab → · Contrast checker → · Palette generator →

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