#3034B2#3034B2

#3034B2 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.5% C 0.194 H 272.8°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#3034B2
RGBrgb(48, 52, 178)
HSLhsl(238, 58%, 44%)
HSVhsv(238, 73%, 70%)
CMYKcmyk(73%, 70.8%, 0%, 30.2%)
CIE-LABlab(30.15, 40.83, -66.91)
CIE-LCHlch(30.15, 78.38, 301.40°)
OKLaboklab(41.49% 0.0093 -0.1935)
OKLCHoklch(41.49% 0.194 272.8)
XYZxyz(10.4801, 6.2977, 42.7741)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3034B2 #B2AE30
analogous
#3075B2 #3034B2 #6D30B2
triadic
#3034B2 #B23034 #34B230
tetradic
#3034B2 #B23075 #B2AE30 #30B26D
square
#3034B2 #B23075 #B2AE30 #30B26D
split-complementary
#3034B2 #B26D30 #75B230
monochromatic
#161852 #232682 #3034B2 #5053D0 #8083DD

Accessibility & contrast

On white

9.29
#3034B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#3034B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3034B2
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3034B2#FFFFFF#000000##FFFFFF
##3034B21.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB6
Deuteranopia (green-blind)
#0041B0
Tritanopia (blue-blind)
#00576F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3034b2;
/* rgb */ color: rgb(48, 52, 178);
/* oklch */ color: oklch(41.5% 0.194 272.8);
Tailwind
colors: {
  custom: {
    50: '#7c6cca',
    500: '#3034b2',
    950: '#000000',
  },
}
SCSS
$custom: #3034b2;
$custom-light: #7c6cca;
$custom-dark: #000000;
JSON
{
  "hex": "#3034b2",
  "rgb": {
    "r": 48,
    "g": 52,
    "b": 178
  },
  "hsl": {
    "h": 238.154,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.41489,
    "c": 0.19375,
    "h": 272.8
  },
  "luminance": 0.06299
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3034B2

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

Preview Lab → · Contrast checker → · Palette generator →

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