#3039AC#3039AC

#3039AC is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.7% C 0.180 H 272.2°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#3039AC
RGBrgb(48, 57, 172)
HSLhsl(236, 56%, 43%)
HSVhsv(236, 72%, 67%)
CMYKcmyk(72.1%, 66.9%, 0%, 32.5%)
CIE-LABlab(30.72, 35.66, -62.39)
CIE-LCHlch(30.72, 71.86, 299.75°)
OKLaboklab(41.73% 0.007 -0.1803)
OKLCHoklch(41.73% 0.18 272.2)
XYZxyz(10.1259, 6.5322, 39.7489)
Luminance0.0653 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3039AC #ACA330
analogous
#3077AC #3039AC #6530AC
triadic
#3039AC #AC3039 #39AC30
tetradic
#3039AC #AC3077 #ACA330 #30AC65
square
#3039AC #AC3077 #ACA330 #30AC65
split-complementary
#3039AC #AC6530 #77AC30
monochromatic
#15194C #23297C #3039AC #4C55CD #7C83DA

Accessibility & contrast

On white

9.10
#3039AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3039AC
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3039AC#FFFFFF#000000##FFFFFF
##3039AC1.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB0
Deuteranopia (green-blind)
#0043AA
Tritanopia (blue-blind)
#00586D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3039ac;
/* rgb */ color: rgb(48, 57, 172);
/* oklch */ color: oklch(41.7% 0.180 272.2);
Tailwind
colors: {
  custom: {
    50: '#7a6fc6',
    500: '#3039ac',
    950: '#000000',
  },
}
SCSS
$custom: #3039ac;
$custom-light: #7a6fc6;
$custom-dark: #000000;
JSON
{
  "hex": "#3039ac",
  "rgb": {
    "r": 48,
    "g": 57,
    "b": 172
  },
  "hsl": {
    "h": 235.645,
    "s": 56.364,
    "l": 43.137
  },
  "oklch": {
    "l": 0.41725,
    "c": 0.18048,
    "h": 272.2
  },
  "luminance": 0.06533
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3039AC

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

Preview Lab → · Contrast checker → · Palette generator →

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