#3034B0#3034B0

#3034B0 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 41.3% C 0.191 H 272.9°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#3034B0
RGBrgb(48, 52, 176)
HSLhsl(238, 57%, 44%)
HSVhsv(238, 73%, 69%)
CMYKcmyk(72.7%, 70.5%, 0%, 31%)
CIE-LABlab(29.96, 40.15, -66.03)
CIE-LCHlch(29.96, 77.28, 301.30°)
OKLaboklab(41.29% 0.0096 -0.191)
OKLCHoklch(41.29% 0.191 272.9)
XYZxyz(10.2808, 6.2179, 41.7242)
Luminance0.0622 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3034B0 #B0AC30
analogous
#3074B0 #3034B0 #6C30B0
triadic
#3034B0 #B03034 #34B030
tetradic
#3034B0 #B03074 #B0AC30 #30B06C
square
#3034B0 #B03074 #B0AC30 #30B06C
split-complementary
#3034B0 #B06C30 #74B030
monochromatic
#161850 #232680 #3034B0 #4E52CF #7E81DC

Accessibility & contrast

On white

9.36
#3034B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#3034B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3034B0
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3034B0#FFFFFF#000000##FFFFFF
##3034B01.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB4
Deuteranopia (green-blind)
#0040AE
Tritanopia (blue-blind)
#00566E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3034b0;
/* rgb */ color: rgb(48, 52, 176);
/* oklch */ color: oklch(41.3% 0.191 272.9);
Tailwind
colors: {
  custom: {
    50: '#7c6cc9',
    500: '#3034b0',
    950: '#000000',
  },
}
SCSS
$custom: #3034b0;
$custom-light: #7c6cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#3034b0",
  "rgb": {
    "r": 48,
    "g": 52,
    "b": 176
  },
  "hsl": {
    "h": 238.125,
    "s": 57.143,
    "l": 43.922
  },
  "oklch": {
    "l": 0.41289,
    "c": 0.19123,
    "h": 272.9
  },
  "luminance": 0.06219
}

Semantic roles & 50–950 ramp

primary
#3034B0
secondary
#C5C277
accent
#DC47E0
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3034B0

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

Preview Lab → · Contrast checker → · Palette generator →

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