#3034B7#3034B7

#3034B7 is a dark, highly saturated blue. Relative luminance 0.065; OKLCH L 42.0% C 0.200 H 272.5°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#3034B7
RGBrgb(48, 52, 183)
HSLhsl(238, 58%, 45%)
HSVhsv(238, 74%, 72%)
CMYKcmyk(73.8%, 71.6%, 0%, 28.2%)
CIE-LABlab(30.65, 42.54, -69.06)
CIE-LCHlch(30.65, 81.11, 301.63°)
OKLaboklab(41.99% 0.0086 -0.1998)
OKLCHoklch(41.99% 0.2 272.5)
XYZxyz(10.9913, 6.5021, 45.4663)
Luminance0.0650 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3034B7 #B7B330
analogous
#3078B7 #3034B7 #6F30B7
triadic
#3034B7 #B73034 #34B730
tetradic
#3034B7 #B73078 #B7B330 #30B76F
square
#3034B7 #B73078 #B7B330 #30B76F
split-complementary
#3034B7 #B76F30 #78B730
monochromatic
#171856 #232687 #3034B7 #5256D2 #8386DE

Accessibility & contrast

On white

9.13
#3034B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#3034B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3034B7
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3034B7#FFFFFF#000000##FFFFFF
##3034B71.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBB
Deuteranopia (green-blind)
#0042B5
Tritanopia (blue-blind)
#005972
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3034b7;
/* rgb */ color: rgb(48, 52, 183);
/* oklch */ color: oklch(42.0% 0.200 272.5);
Tailwind
colors: {
  custom: {
    50: '#7d6cce',
    500: '#3034b7',
    950: '#000000',
  },
}
SCSS
$custom: #3034b7;
$custom-light: #7d6cce;
$custom-dark: #000000;
JSON
{
  "hex": "#3034b7",
  "rgb": {
    "r": 48,
    "g": 52,
    "b": 183
  },
  "hsl": {
    "h": 238.222,
    "s": 58.442,
    "l": 45.294
  },
  "oklch": {
    "l": 0.41992,
    "c": 0.20002,
    "h": 272.5
  },
  "luminance": 0.06503
}

Semantic roles & 50–950 ramp

primary
#3034B7
secondary
#C8C57B
accent
#DD46E2
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #3034B7

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

Preview Lab → · Contrast checker → · Palette generator →

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