#3039AD#3039AD

#3039AD is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.8% C 0.182 H 272.2°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#3039AD
RGBrgb(48, 57, 173)
HSLhsl(236, 57%, 43%)
HSVhsv(236, 72%, 68%)
CMYKcmyk(72.3%, 67.1%, 0%, 32.2%)
CIE-LABlab(30.81, 36.02, -62.84)
CIE-LCHlch(30.81, 72.43, 299.82°)
OKLaboklab(41.82% 0.0069 -0.1816)
OKLCHoklch(41.82% 0.182 272.2)
XYZxyz(10.2223, 6.5707, 40.2566)
Luminance0.0657 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3039AD #ADA430
analogous
#3077AD #3039AD #6530AD
triadic
#3039AD #AD3039 #39AD30
tetradic
#3039AD #AD3077 #ADA430 #30AD65
square
#3039AD #AD3077 #ADA430 #30AD65
split-complementary
#3039AD #AD6530 #77AD30
monochromatic
#15194D #23297D #3039AD #4D56CE #7D83DB

Accessibility & contrast

On white

9.07
#3039AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#3039AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3039AD
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3039AD#FFFFFF#000000##FFFFFF
##3039AD1.009.072.319.07
#FFFFFF9.071.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB1
Deuteranopia (green-blind)
#0043AB
Tritanopia (blue-blind)
#00586E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3039ad;
/* rgb */ color: rgb(48, 57, 173);
/* oklch */ color: oklch(41.8% 0.182 272.2);
Tailwind
colors: {
  custom: {
    50: '#7b70c6',
    500: '#3039ad',
    950: '#000000',
  },
}
SCSS
$custom: #3039ad;
$custom-light: #7b70c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3039ad",
  "rgb": {
    "r": 48,
    "g": 57,
    "b": 173
  },
  "hsl": {
    "h": 235.68,
    "s": 56.561,
    "l": 43.333
  },
  "oklch": {
    "l": 0.4182,
    "c": 0.18178,
    "h": 272.2
  },
  "luminance": 0.06572
}

Semantic roles & 50–950 ramp

primary
#3039AD
secondary
#C3BE75
accent
#D548E0
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3039AD

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

Preview Lab → · Contrast checker → · Palette generator →

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