#3039B6#3039B6

#3039B6 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.7% C 0.193 H 271.8°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#3039B6
RGBrgb(48, 57, 182)
HSLhsl(236, 58%, 45%)
HSVhsv(236, 74%, 71%)
CMYKcmyk(73.6%, 68.7%, 0%, 28.6%)
CIE-LABlab(31.65, 39.18, -66.82)
CIE-LCHlch(31.65, 77.46, 300.39°)
OKLaboklab(42.69% 0.006 -0.1933)
OKLCHoklch(42.69% 0.193 271.8)
XYZxyz(11.1227, 6.9309, 44.9985)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3039B6 #B6AD30
analogous
#307CB6 #3039B6 #6A30B6
triadic
#3039B6 #B63039 #39B630
tetradic
#3039B6 #B6307C #B6AD30 #30B66A
square
#3039B6 #B6307C #B6AD30 #30B66A
split-complementary
#3039B6 #B66A30 #7CB630
monochromatic
#161B55 #232A86 #3039B6 #525AD1 #8288DE

Accessibility & contrast

On white

8.80
#3039B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3039B6
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3039B6#FFFFFF#000000##FFFFFF
##3039B61.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BA
Deuteranopia (green-blind)
#0044B4
Tritanopia (blue-blind)
#005B73
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3039b6;
/* rgb */ color: rgb(48, 57, 182);
/* oklch */ color: oklch(42.7% 0.193 271.8);
Tailwind
colors: {
  custom: {
    50: '#7d70cd',
    500: '#3039b6',
    950: '#000000',
  },
}
SCSS
$custom: #3039b6;
$custom-light: #7d70cd;
$custom-dark: #000000;
JSON
{
  "hex": "#3039b6",
  "rgb": {
    "r": 48,
    "g": 57,
    "b": 182
  },
  "hsl": {
    "h": 235.97,
    "s": 58.261,
    "l": 45.098
  },
  "oklch": {
    "l": 0.42685,
    "c": 0.19337,
    "h": 271.8
  },
  "luminance": 0.06932
}

Semantic roles & 50–950 ramp

primary
#3039B6
secondary
#C7C27B
accent
#D746E1
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #3039B6

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

Preview Lab → · Contrast checker → · Palette generator →

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