#3034B6#3034B6

#3034B6 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.9% C 0.199 H 272.5°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#3034B6
RGBrgb(48, 52, 182)
HSLhsl(238, 58%, 45%)
HSVhsv(238, 74%, 71%)
CMYKcmyk(73.6%, 71.4%, 0%, 28.6%)
CIE-LABlab(30.55, 42.20, -68.64)
CIE-LCHlch(30.55, 80.57, 301.59°)
OKLaboklab(41.89% 0.0088 -0.1986)
OKLCHoklch(41.89% 0.199 272.5)
XYZxyz(10.8876, 6.4606, 44.9201)
Luminance0.0646 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3034B6 #B6B230
analogous
#3077B6 #3034B6 #6F30B6
triadic
#3034B6 #B63034 #34B630
tetradic
#3034B6 #B63077 #B6B230 #30B66F
square
#3034B6 #B63077 #B6B230 #30B66F
split-complementary
#3034B6 #B66F30 #77B630
monochromatic
#161855 #232686 #3034B6 #5256D1 #8285DE

Accessibility & contrast

On white

9.16
#3034B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#3034B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3034B6
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3034B6#FFFFFF#000000##FFFFFF
##3034B61.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3034b6;
/* rgb */ color: rgb(48, 52, 182);
/* oklch */ color: oklch(41.9% 0.199 272.5);
Tailwind
colors: {
  custom: {
    50: '#7d6ccd',
    500: '#3034b6',
    950: '#000000',
  },
}
SCSS
$custom: #3034b6;
$custom-light: #7d6ccd;
$custom-dark: #000000;
JSON
{
  "hex": "#3034b6",
  "rgb": {
    "r": 48,
    "g": 52,
    "b": 182
  },
  "hsl": {
    "h": 238.209,
    "s": 58.261,
    "l": 45.098
  },
  "oklch": {
    "l": 0.41891,
    "c": 0.19877,
    "h": 272.5
  },
  "luminance": 0.06462
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3034B6

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

Preview Lab → · Contrast checker → · Palette generator →

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