#3039B9#3039B9

#3039B9 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 43.0% C 0.197 H 271.6°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#3039B9
RGBrgb(48, 57, 185)
HSLhsl(236, 59%, 46%)
HSVhsv(236, 74%, 73%)
CMYKcmyk(74.1%, 69.2%, 0%, 27.5%)
CIE-LABlab(31.93, 40.23, -68.13)
CIE-LCHlch(31.93, 79.12, 300.56°)
OKLaboklab(42.98% 0.0057 -0.1971)
OKLCHoklch(42.98% 0.197 271.6)
XYZxyz(11.4360, 7.0562, 46.6488)
Luminance0.0706 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3039B9 #B9B030
analogous
#307EB9 #3039B9 #6B30B9
triadic
#3039B9 #B93039 #39B930
tetradic
#3039B9 #B9307E #B9B030 #30B96B
square
#3039B9 #B9307E #B9B030 #30B96B
split-complementary
#3039B9 #B96B30 #7EB930
monochromatic
#171B58 #232A88 #3039B9 #545CD3 #848ADF

Accessibility & contrast

On white

8.71
#3039B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#3039B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3039B9
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3039B9#FFFFFF#000000##FFFFFF
##3039B91.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BD
Deuteranopia (green-blind)
#0045B7
Tritanopia (blue-blind)
#005C74
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3039b9;
/* rgb */ color: rgb(48, 57, 185);
/* oklch */ color: oklch(43.0% 0.197 271.6);
Tailwind
colors: {
  custom: {
    50: '#7d70cf',
    500: '#3039b9',
    950: '#000000',
  },
}
SCSS
$custom: #3039b9;
$custom-light: #7d70cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3039b9",
  "rgb": {
    "r": 48,
    "g": 57,
    "b": 185
  },
  "hsl": {
    "h": 236.058,
    "s": 58.798,
    "l": 45.686
  },
  "oklch": {
    "l": 0.42978,
    "c": 0.19718,
    "h": 271.6
  },
  "luminance": 0.07057
}

Semantic roles & 50–950 ramp

primary
#3039B9
secondary
#C9C47C
accent
#D846E2
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #3039B9

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

Preview Lab → · Contrast checker → · Palette generator →

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