#3034A4#3034A4

#3034A4 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.1% C 0.176 H 273.6°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#3034A4
RGBrgb(48, 52, 164)
HSLhsl(238, 55%, 42%)
HSVhsv(238, 71%, 64%)
CMYKcmyk(70.7%, 68.3%, 0%, 35.7%)
CIE-LABlab(28.81, 35.98, -60.71)
CIE-LCHlch(28.81, 70.57, 300.65°)
OKLaboklab(40.11% 0.0111 -0.1754)
OKLCHoklch(40.11% 0.176 273.6)
XYZxyz(9.1455, 5.7638, 35.7453)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3034A4 #A4A030
analogous
#306EA4 #3034A4 #6630A4
triadic
#3034A4 #A43034 #34A430
tetradic
#3034A4 #A4306E #A4A030 #30A466
square
#3034A4 #A4306E #A4A030 #30A466
split-complementary
#3034A4 #A46630 #6EA430
monochromatic
#141645 #222575 #3034A4 #484CC9 #777AD7

Accessibility & contrast

On white

9.75
#3034A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#3034A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3034A4
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3034A4#FFFFFF#000000##FFFFFF
##3034A41.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A7
Deuteranopia (green-blind)
#003FA2
Tritanopia (blue-blind)
#005267
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3034a4;
/* rgb */ color: rgb(48, 52, 164);
/* oklch */ color: oklch(40.1% 0.176 273.6);
Tailwind
colors: {
  custom: {
    50: '#796cc0',
    500: '#3034a4',
    950: '#000000',
  },
}
SCSS
$custom: #3034a4;
$custom-light: #796cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#3034a4",
  "rgb": {
    "r": 48,
    "g": 52,
    "b": 164
  },
  "hsl": {
    "h": 237.931,
    "s": 54.717,
    "l": 41.569
  },
  "oklch": {
    "l": 0.40113,
    "c": 0.17579,
    "h": 273.6
  },
  "luminance": 0.05765
}

Semantic roles & 50–950 ramp

primary
#3034A4
secondary
#BFBD70
accent
#D94ADE
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #3034A4

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

Preview Lab → · Contrast checker → · Palette generator →

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