#3039B1#3039B1

#3039B1 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 42.2% C 0.187 H 272.0°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#3039B1
RGBrgb(48, 57, 177)
HSLhsl(236, 57%, 44%)
HSVhsv(236, 73%, 69%)
CMYKcmyk(72.9%, 67.8%, 0%, 30.6%)
CIE-LABlab(31.18, 37.43, -64.62)
CIE-LCHlch(31.18, 74.68, 300.08°)
OKLaboklab(42.2% 0.0065 -0.1868)
OKLCHoklch(42.2% 0.187 272)
XYZxyz(10.6152, 6.7279, 42.3256)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3039B1 #B1A830
analogous
#307AB1 #3039B1 #6830B1
triadic
#3039B1 #B13039 #39B130
tetradic
#3039B1 #B1307A #B1A830 #30B168
square
#3039B1 #B1307A #B1A830 #30B168
split-complementary
#3039B1 #B16830 #7AB130
monochromatic
#161A51 #232981 #3039B1 #4F58CF #7F86DC

Accessibility & contrast

On white

8.95
#3039B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#3039B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3039B1
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3039B1#FFFFFF#000000##FFFFFF
##3039B11.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB5
Deuteranopia (green-blind)
#0043AF
Tritanopia (blue-blind)
#005970
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3039b1;
/* rgb */ color: rgb(48, 57, 177);
/* oklch */ color: oklch(42.2% 0.187 272.0);
Tailwind
colors: {
  custom: {
    50: '#7b70c9',
    500: '#3039b1',
    950: '#000000',
  },
}
SCSS
$custom: #3039b1;
$custom-light: #7b70c9;
$custom-dark: #000000;
JSON
{
  "hex": "#3039b1",
  "rgb": {
    "r": 48,
    "g": 57,
    "b": 177
  },
  "hsl": {
    "h": 235.814,
    "s": 57.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.42202,
    "c": 0.18696,
    "h": 272
  },
  "luminance": 0.06729
}

Semantic roles & 50–950 ramp

primary
#3039B1
secondary
#C5C078
accent
#D647E1
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3039B1

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

Preview Lab → · Contrast checker → · Palette generator →

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