#3034B5#3034B5

#3034B5 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.8% C 0.198 H 272.6°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#3034B5
RGBrgb(48, 52, 181)
HSLhsl(238, 58%, 45%)
HSVhsv(238, 73%, 71%)
CMYKcmyk(73.5%, 71.3%, 0%, 29%)
CIE-LABlab(30.45, 41.86, -68.20)
CIE-LCHlch(30.45, 80.02, 301.54°)
OKLaboklab(41.79% 0.0089 -0.1973)
OKLCHoklch(41.79% 0.198 272.6)
XYZxyz(10.7846, 6.4195, 44.3778)
Luminance0.0642 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3034B5 #B5B130
analogous
#3077B5 #3034B5 #6E30B5
triadic
#3034B5 #B53034 #34B530
tetradic
#3034B5 #B53077 #B5B130 #30B56E
square
#3034B5 #B53077 #B5B130 #30B56E
split-complementary
#3034B5 #B56E30 #77B530
monochromatic
#161854 #232685 #3034B5 #5155D1 #8284DE

Accessibility & contrast

On white

9.19
#3034B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#3034B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3034B5
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3034B5#FFFFFF#000000##FFFFFF
##3034B51.009.192.289.19
#FFFFFF9.191.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB9
Deuteranopia (green-blind)
#0041B3
Tritanopia (blue-blind)
#005871
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3034b5;
/* rgb */ color: rgb(48, 52, 181);
/* oklch */ color: oklch(41.8% 0.198 272.6);
Tailwind
colors: {
  custom: {
    50: '#7d6ccc',
    500: '#3034b5',
    950: '#000000',
  },
}
SCSS
$custom: #3034b5;
$custom-light: #7d6ccc;
$custom-dark: #000000;
JSON
{
  "hex": "#3034b5",
  "rgb": {
    "r": 48,
    "g": 52,
    "b": 181
  },
  "hsl": {
    "h": 238.195,
    "s": 58.079,
    "l": 44.902
  },
  "oklch": {
    "l": 0.4179,
    "c": 0.19752,
    "h": 272.6
  },
  "luminance": 0.06421
}

Semantic roles & 50–950 ramp

primary
#3034B5
secondary
#C7C57A
accent
#DD46E1
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #3034B5

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

Preview Lab → · Contrast checker → · Palette generator →

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