#3039BB#3039BB

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

Color values

HEX#3039BB
RGBrgb(48, 57, 187)
HSLhsl(236, 59%, 46%)
HSVhsv(236, 74%, 73%)
CMYKcmyk(74.3%, 69.5%, 0%, 26.7%)
CIE-LABlab(32.13, 40.92, -68.99)
CIE-LCHlch(32.13, 80.22, 300.67°)
OKLaboklab(43.18% 0.0054 -0.1996)
OKLCHoklch(43.18% 0.2 271.6)
XYZxyz(11.6487, 7.1413, 47.7686)
Luminance0.0714 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3039BB #BBB230
analogous
#307EBB #3039BB #6C30BB
triadic
#3039BB #BB3039 #39BB30
tetradic
#3039BB #BB307E #BBB230 #30BB6C
square
#3039BB #BB307E #BBB230 #30BB6C
split-complementary
#3039BB #BB6C30 #7EBB30
monochromatic
#171B5A #232A8A #3039BB #555DD3 #868BE0

Accessibility & contrast

On white

8.65
#3039BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#3039BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3039BB
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3039BB#FFFFFF#000000##FFFFFF
##3039BB1.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BF
Deuteranopia (green-blind)
#0045B9
Tritanopia (blue-blind)
#005D75
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3039bb;
/* rgb */ color: rgb(48, 57, 187);
/* oklch */ color: oklch(43.2% 0.200 271.6);
Tailwind
colors: {
  custom: {
    50: '#7e70d1',
    500: '#3039bb',
    950: '#000000',
  },
}
SCSS
$custom: #3039bb;
$custom-light: #7e70d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3039bb",
  "rgb": {
    "r": 48,
    "g": 57,
    "b": 187
  },
  "hsl": {
    "h": 236.115,
    "s": 59.149,
    "l": 46.078
  },
  "oklch": {
    "l": 0.43175,
    "c": 0.1997,
    "h": 271.6
  },
  "luminance": 0.07142
}

Semantic roles & 50–950 ramp

primary
#3039BB
secondary
#C9C47D
accent
#D845E2
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #3039BB

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

Preview Lab → · Contrast checker → · Palette generator →

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