#3034B4#3034B4

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

Color values

HEX#3034B4
RGBrgb(48, 52, 180)
HSLhsl(238, 58%, 45%)
HSVhsv(238, 73%, 71%)
CMYKcmyk(73.3%, 71.1%, 0%, 29.4%)
CIE-LABlab(30.35, 41.52, -67.77)
CIE-LCHlch(30.35, 79.48, 301.49°)
OKLaboklab(41.69% 0.009 -0.1961)
OKLCHoklch(41.69% 0.196 272.6)
XYZxyz(10.6824, 6.3786, 43.8394)
Luminance0.0638 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3034B4 #B4B030
analogous
#3076B4 #3034B4 #6E30B4
triadic
#3034B4 #B43034 #34B430
tetradic
#3034B4 #B43076 #B4B030 #30B46E
square
#3034B4 #B43076 #B4B030 #30B46E
split-complementary
#3034B4 #B46E30 #76B430
monochromatic
#161853 #232684 #3034B4 #5155D1 #8184DD

Accessibility & contrast

On white

9.23
#3034B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3034B4
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3034B4#FFFFFF#000000##FFFFFF
##3034B41.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB8
Deuteranopia (green-blind)
#0041B2
Tritanopia (blue-blind)
#005870
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3034b4;
/* rgb */ color: rgb(48, 52, 180);
/* oklch */ color: oklch(41.7% 0.196 272.6);
Tailwind
colors: {
  custom: {
    50: '#7d6ccc',
    500: '#3034b4',
    950: '#000000',
  },
}
SCSS
$custom: #3034b4;
$custom-light: #7d6ccc;
$custom-dark: #000000;
JSON
{
  "hex": "#3034b4",
  "rgb": {
    "r": 48,
    "g": 52,
    "b": 180
  },
  "hsl": {
    "h": 238.182,
    "s": 57.895,
    "l": 44.706
  },
  "oklch": {
    "l": 0.41689,
    "c": 0.19627,
    "h": 272.6
  },
  "luminance": 0.0638
}

Semantic roles & 50–950 ramp

primary
#3034B4
secondary
#C6C479
accent
#DC47E1
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3034B4

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

Preview Lab → · Contrast checker → · Palette generator →

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