#3039B7#3039B7

#3039B7 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.8% C 0.195 H 271.7°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#3039B7
RGBrgb(48, 57, 183)
HSLhsl(236, 58%, 45%)
HSVhsv(236, 74%, 72%)
CMYKcmyk(73.8%, 68.9%, 0%, 28.2%)
CIE-LABlab(31.74, 39.53, -67.26)
CIE-LCHlch(31.74, 78.01, 300.44°)
OKLaboklab(42.78% 0.0059 -0.1946)
OKLCHoklch(42.78% 0.195 271.7)
XYZxyz(11.2264, 6.9724, 45.5447)
Luminance0.0697 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3039B7 #B7AE30
analogous
#307CB7 #3039B7 #6A30B7
triadic
#3039B7 #B73039 #39B730
tetradic
#3039B7 #B7307C #B7AE30 #30B76A
square
#3039B7 #B7307C #B7AE30 #30B76A
split-complementary
#3039B7 #B76A30 #7CB730
monochromatic
#171B56 #232A87 #3039B7 #525BD2 #8389DE

Accessibility & contrast

On white

8.77
#3039B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#3039B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3039B7
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3039B7#FFFFFF#000000##FFFFFF
##3039B71.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BB
Deuteranopia (green-blind)
#0044B5
Tritanopia (blue-blind)
#005B73
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3039b7;
/* rgb */ color: rgb(48, 57, 183);
/* oklch */ color: oklch(42.8% 0.195 271.7);
Tailwind
colors: {
  custom: {
    50: '#7d70ce',
    500: '#3039b7',
    950: '#000000',
  },
}
SCSS
$custom: #3039b7;
$custom-light: #7d70ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3039b7",
  "rgb": {
    "r": 48,
    "g": 57,
    "b": 183
  },
  "hsl": {
    "h": 236,
    "s": 58.442,
    "l": 45.294
  },
  "oklch": {
    "l": 0.42783,
    "c": 0.19465,
    "h": 271.7
  },
  "luminance": 0.06974
}

Semantic roles & 50–950 ramp

primary
#3039B7
secondary
#C8C37B
accent
#D746E2
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #3039B7

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

Preview Lab → · Contrast checker → · Palette generator →

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