#3034C5#3034C5

#3034C5 is a dark, highly saturated blue. Relative luminance 0.071; OKLCH L 43.4% C 0.217 H 271.7°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#3034C5
RGBrgb(48, 52, 197)
HSLhsl(238, 61%, 48%)
HSVhsv(238, 76%, 77%)
CMYKcmyk(75.6%, 73.6%, 0%, 22.7%)
CIE-LABlab(32.07, 47.24, -74.97)
CIE-LCHlch(32.07, 88.61, 302.21°)
OKLaboklab(43.43% 0.0064 -0.217)
OKLCHoklch(43.43% 0.217 271.7)
XYZxyz(12.5216, 7.1142, 53.5258)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3034C5 #C5C130
analogous
#307FC5 #3034C5 #7630C5
triadic
#3034C5 #C53034 #34C530
tetradic
#3034C5 #C5307F #C5C130 #30C576
square
#3034C5 #C5307F #C5C130 #30C576
split-complementary
#3034C5 #C57630 #7FC530
monochromatic
#181A63 #242794 #3034C5 #5B5ED7 #8C8FE3

Accessibility & contrast

On white

8.67
#3034C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#3034C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3034C5
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3034C5#FFFFFF#000000##FFFFFF
##3034C51.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C9
Deuteranopia (green-blind)
#0044C2
Tritanopia (blue-blind)
#005E7A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3034c5;
/* rgb */ color: rgb(48, 52, 197);
/* oklch */ color: oklch(43.4% 0.217 271.7);
Tailwind
colors: {
  custom: {
    50: '#816dd8',
    500: '#3034c5',
    950: '#000000',
  },
}
SCSS
$custom: #3034c5;
$custom-light: #816dd8;
$custom-dark: #000000;
JSON
{
  "hex": "#3034c5",
  "rgb": {
    "r": 48,
    "g": 52,
    "b": 197
  },
  "hsl": {
    "h": 238.389,
    "s": 60.816,
    "l": 48.039
  },
  "oklch": {
    "l": 0.4343,
    "c": 0.21713,
    "h": 271.7
  },
  "luminance": 0.07116
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3034C5

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

Preview Lab → · Contrast checker → · Palette generator →

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