#3039B0#3039B0

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

Color values

HEX#3039B0
RGBrgb(48, 57, 176)
HSLhsl(236, 57%, 44%)
HSVhsv(236, 73%, 69%)
CMYKcmyk(72.7%, 67.6%, 0%, 31%)
CIE-LABlab(31.09, 37.08, -64.18)
CIE-LCHlch(31.09, 74.12, 300.02°)
OKLaboklab(42.11% 0.0066 -0.1856)
OKLCHoklch(42.11% 0.186 272)
XYZxyz(10.5159, 6.6882, 41.8026)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3039B0 #B0A730
analogous
#3079B0 #3039B0 #6730B0
triadic
#3039B0 #B03039 #39B030
tetradic
#3039B0 #B03079 #B0A730 #30B067
square
#3039B0 #B03079 #B0A730 #30B067
split-complementary
#3039B0 #B06730 #79B030
monochromatic
#161A50 #232980 #3039B0 #4E57CF #7E85DC

Accessibility & contrast

On white

8.98
#3039B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#3039B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3039B0
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3039B0#FFFFFF#000000##FFFFFF
##3039B01.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB4
Deuteranopia (green-blind)
#0043AE
Tritanopia (blue-blind)
#00596F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3039b0;
/* rgb */ color: rgb(48, 57, 176);
/* oklch */ color: oklch(42.1% 0.186 272.0);
Tailwind
colors: {
  custom: {
    50: '#7b70c9',
    500: '#3039b0',
    950: '#000000',
  },
}
SCSS
$custom: #3039b0;
$custom-light: #7b70c9;
$custom-dark: #000000;
JSON
{
  "hex": "#3039b0",
  "rgb": {
    "r": 48,
    "g": 57,
    "b": 176
  },
  "hsl": {
    "h": 235.781,
    "s": 57.143,
    "l": 43.922
  },
  "oklch": {
    "l": 0.42106,
    "c": 0.18568,
    "h": 272
  },
  "luminance": 0.06689
}

Semantic roles & 50–950 ramp

primary
#3039B0
secondary
#C5BF77
accent
#D647E0
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3039B0

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

Preview Lab → · Contrast checker → · Palette generator →

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