#3034AE#3034AE

#3034AE is a dark, vivid blue. Relative luminance 0.061; OKLCH L 41.1% C 0.189 H 273.0°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#3034AE
RGBrgb(48, 52, 174)
HSLhsl(238, 57%, 44%)
HSVhsv(238, 72%, 68%)
CMYKcmyk(72.4%, 70.1%, 0%, 31.8%)
CIE-LABlab(29.76, 39.46, -65.16)
CIE-LCHlch(29.76, 76.18, 301.20°)
OKLaboklab(41.09% 0.0099 -0.1884)
OKLCHoklch(41.09% 0.189 273)
XYZxyz(10.0843, 6.1393, 40.6897)
Luminance0.0614 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3034AE #AEAA30
analogous
#3073AE #3034AE #6B30AE
triadic
#3034AE #AE3034 #34AE30
tetradic
#3034AE #AE3073 #AEAA30 #30AE6B
square
#3034AE #AE3073 #AEAA30 #30AE6B
split-complementary
#3034AE #AE6B30 #73AE30
monochromatic
#16174E #23267E #3034AE #4D51CE #7D80DB

Accessibility & contrast

On white

9.43
#3034AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#3034AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3034AE
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3034AE#FFFFFF#000000##FFFFFF
##3034AE1.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB2
Deuteranopia (green-blind)
#0040AC
Tritanopia (blue-blind)
#00566D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3034ae;
/* rgb */ color: rgb(48, 52, 174);
/* oklch */ color: oklch(41.1% 0.189 273.0);
Tailwind
colors: {
  custom: {
    50: '#7b6cc7',
    500: '#3034ae',
    950: '#000000',
  },
}
SCSS
$custom: #3034ae;
$custom-light: #7b6cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#3034ae",
  "rgb": {
    "r": 48,
    "g": 52,
    "b": 174
  },
  "hsl": {
    "h": 238.095,
    "s": 56.757,
    "l": 43.529
  },
  "oklch": {
    "l": 0.41091,
    "c": 0.18869,
    "h": 273
  },
  "luminance": 0.0614
}

Semantic roles & 50–950 ramp

primary
#3034AE
secondary
#C4C176
accent
#DB48E0
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3034AE

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

Preview Lab → · Contrast checker → · Palette generator →

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