#3039B2#3039B2

#3039B2 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.3% C 0.188 H 272.0°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#3039B2
RGBrgb(48, 57, 178)
HSLhsl(236, 58%, 44%)
HSVhsv(236, 73%, 70%)
CMYKcmyk(73%, 68%, 0%, 30.2%)
CIE-LABlab(31.27, 37.78, -65.06)
CIE-LCHlch(31.27, 75.24, 300.14°)
OKLaboklab(42.3% 0.0064 -0.1881)
OKLCHoklch(42.3% 0.188 272)
XYZxyz(10.7152, 6.7679, 42.8525)
Luminance0.0677 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3039B2 #B2A930
analogous
#307AB2 #3039B2 #6830B2
triadic
#3039B2 #B23039 #39B230
tetradic
#3039B2 #B2307A #B2A930 #30B268
square
#3039B2 #B2307A #B2A930 #30B268
split-complementary
#3039B2 #B26830 #7AB230
monochromatic
#161A52 #232A82 #3039B2 #5058D0 #8086DD

Accessibility & contrast

On white

8.92
#3039B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#3039B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3039B2
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3039B2#FFFFFF#000000##FFFFFF
##3039B21.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B6
Deuteranopia (green-blind)
#0043B0
Tritanopia (blue-blind)
#005A71
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3039b2;
/* rgb */ color: rgb(48, 57, 178);
/* oklch */ color: oklch(42.3% 0.188 272.0);
Tailwind
colors: {
  custom: {
    50: '#7c70ca',
    500: '#3039b2',
    950: '#000000',
  },
}
SCSS
$custom: #3039b2;
$custom-light: #7c70ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3039b2",
  "rgb": {
    "r": 48,
    "g": 57,
    "b": 178
  },
  "hsl": {
    "h": 235.846,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.42298,
    "c": 0.18825,
    "h": 272
  },
  "luminance": 0.06769
}

Semantic roles & 50–950 ramp

primary
#3039B2
secondary
#C6C078
accent
#D647E1
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3039B2

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

Preview Lab → · Contrast checker → · Palette generator →

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