#3039B4#3039B4

#3039B4 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.5% C 0.191 H 271.9°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#3039B4
RGBrgb(48, 57, 180)
HSLhsl(236, 58%, 45%)
HSVhsv(236, 73%, 71%)
CMYKcmyk(73.3%, 68.3%, 0%, 29.4%)
CIE-LABlab(31.46, 38.48, -65.94)
CIE-LCHlch(31.46, 76.35, 300.27°)
OKLaboklab(42.49% 0.0062 -0.1907)
OKLCHoklch(42.49% 0.191 271.9)
XYZxyz(10.9175, 6.8488, 43.9177)
Luminance0.0685 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3039B4 #B4AB30
analogous
#307BB4 #3039B4 #6930B4
triadic
#3039B4 #B43039 #39B430
tetradic
#3039B4 #B4307B #B4AB30 #30B469
square
#3039B4 #B4307B #B4AB30 #30B469
split-complementary
#3039B4 #B46930 #7BB430
monochromatic
#161A53 #232A84 #3039B4 #5159D1 #8187DD

Accessibility & contrast

On white

8.86
#3039B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#3039B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3039B4
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3039B4#FFFFFF#000000##FFFFFF
##3039B41.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B8
Deuteranopia (green-blind)
#0044B2
Tritanopia (blue-blind)
#005A72
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3039b4;
/* rgb */ color: rgb(48, 57, 180);
/* oklch */ color: oklch(42.5% 0.191 271.9);
Tailwind
colors: {
  custom: {
    50: '#7c70cc',
    500: '#3039b4',
    950: '#000000',
  },
}
SCSS
$custom: #3039b4;
$custom-light: #7c70cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3039b4",
  "rgb": {
    "r": 48,
    "g": 57,
    "b": 180
  },
  "hsl": {
    "h": 235.909,
    "s": 57.895,
    "l": 44.706
  },
  "oklch": {
    "l": 0.42491,
    "c": 0.19082,
    "h": 271.9
  },
  "luminance": 0.0685
}

Semantic roles & 50–950 ramp

primary
#3039B4
secondary
#C6C179
accent
#D747E1
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3039B4

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

Preview Lab → · Contrast checker → · Palette generator →

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