#3039B3#3039B3

#3039B3 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.4% C 0.190 H 271.9°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#3039B3
RGBrgb(48, 57, 179)
HSLhsl(236, 58%, 45%)
HSVhsv(236, 73%, 70%)
CMYKcmyk(73.2%, 68.2%, 0%, 29.8%)
CIE-LABlab(31.37, 38.13, -65.50)
CIE-LCHlch(31.37, 75.79, 300.20°)
OKLaboklab(42.4% 0.0063 -0.1894)
OKLCHoklch(42.4% 0.19 271.9)
XYZxyz(10.8160, 6.8082, 43.3832)
Luminance0.0681 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3039B3 #B3AA30
analogous
#307BB3 #3039B3 #6930B3
triadic
#3039B3 #B33039 #39B330
tetradic
#3039B3 #B3307B #B3AA30 #30B369
square
#3039B3 #B3307B #B3AA30 #30B369
split-complementary
#3039B3 #B36930 #7BB330
monochromatic
#161A52 #232A83 #3039B3 #5059D0 #8087DD

Accessibility & contrast

On white

8.89
#3039B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#3039B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3039B3
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3039B3#FFFFFF#000000##FFFFFF
##3039B31.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B7
Deuteranopia (green-blind)
#0044B1
Tritanopia (blue-blind)
#005A71
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3039b3;
/* rgb */ color: rgb(48, 57, 179);
/* oklch */ color: oklch(42.4% 0.190 271.9);
Tailwind
colors: {
  custom: {
    50: '#7c70cb',
    500: '#3039b3',
    950: '#000000',
  },
}
SCSS
$custom: #3039b3;
$custom-light: #7c70cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3039b3",
  "rgb": {
    "r": 48,
    "g": 57,
    "b": 179
  },
  "hsl": {
    "h": 235.878,
    "s": 57.709,
    "l": 44.51
  },
  "oklch": {
    "l": 0.42395,
    "c": 0.18954,
    "h": 271.9
  },
  "luminance": 0.06809
}

Semantic roles & 50–950 ramp

primary
#3039B3
secondary
#C6C179
accent
#D647E1
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3039B3

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

Preview Lab → · Contrast checker → · Palette generator →

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