#3039BD#3039BD

#3039BD is a dark, highly saturated blue. Relative luminance 0.072; OKLCH L 43.4% C 0.202 H 271.5°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#3039BD
RGBrgb(48, 57, 189)
HSLhsl(236, 59%, 46%)
HSVhsv(236, 75%, 74%)
CMYKcmyk(74.6%, 69.8%, 0%, 25.9%)
CIE-LABlab(32.32, 41.61, -69.86)
CIE-LCHlch(32.32, 81.31, 300.78°)
OKLaboklab(43.37% 0.0052 -0.2021)
OKLCHoklch(43.37% 0.202 271.5)
XYZxyz(11.8642, 7.2275, 48.9040)
Luminance0.0723 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3039BD #BDB430
analogous
#3080BD #3039BD #6E30BD
triadic
#3039BD #BD3039 #39BD30
tetradic
#3039BD #BD3080 #BDB430 #30BD6E
square
#3039BD #BD3080 #BDB430 #30BD6E
split-complementary
#3039BD #BD6E30 #80BD30
monochromatic
#171C5B #242A8C #3039BD #565ED4 #878DE0

Accessibility & contrast

On white

8.59
#3039BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#3039BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3039BD
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3039BD#FFFFFF#000000##FFFFFF
##3039BD1.008.592.458.59
#FFFFFF8.591.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C1
Deuteranopia (green-blind)
#0045BB
Tritanopia (blue-blind)
#005E77
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3039bd;
/* rgb */ color: rgb(48, 57, 189);
/* oklch */ color: oklch(43.4% 0.202 271.5);
Tailwind
colors: {
  custom: {
    50: '#7e70d2',
    500: '#3039bd',
    950: '#000000',
  },
}
SCSS
$custom: #3039bd;
$custom-light: #7e70d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3039bd",
  "rgb": {
    "r": 48,
    "g": 57,
    "b": 189
  },
  "hsl": {
    "h": 236.17,
    "s": 59.494,
    "l": 46.471
  },
  "oklch": {
    "l": 0.43372,
    "c": 0.20221,
    "h": 271.5
  },
  "luminance": 0.07229
}

Semantic roles & 50–950 ramp

primary
#3039BD
secondary
#CAC57F
accent
#D945E3
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #3039BD

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

Preview Lab → · Contrast checker → · Palette generator →

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