#3039AA#3039AA

#3039AA is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.5% C 0.178 H 272.3°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#3039AA
RGBrgb(48, 57, 170)
HSLhsl(236, 56%, 43%)
HSVhsv(236, 72%, 67%)
CMYKcmyk(71.8%, 66.5%, 0%, 33.3%)
CIE-LABlab(30.53, 34.95, -61.49)
CIE-LCHlch(30.53, 70.73, 299.61°)
OKLaboklab(41.54% 0.0072 -0.1777)
OKLCHoklch(41.54% 0.178 272.3)
XYZxyz(9.9353, 6.4559, 38.7449)
Luminance0.0646 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3039AA #AAA130
analogous
#3076AA #3039AA #6430AA
triadic
#3039AA #AA3039 #39AA30
tetradic
#3039AA #AA3076 #AAA130 #30AA64
square
#3039AA #AA3076 #AAA130 #30AA64
split-complementary
#3039AA #AA6430 #76AA30
monochromatic
#15194B #23297A #3039AA #4B55CC #7B82DA

Accessibility & contrast

On white

9.16
#3039AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#3039AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3039AA#FFFFFF#000000##FFFFFF
##3039AA1.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAE
Deuteranopia (green-blind)
#0042A8
Tritanopia (blue-blind)
#00576C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3039aa;
/* rgb */ color: rgb(48, 57, 170);
/* oklch */ color: oklch(41.5% 0.178 272.3);
Tailwind
colors: {
  custom: {
    50: '#7a6fc4',
    500: '#3039aa',
    950: '#000000',
  },
}
SCSS
$custom: #3039aa;
$custom-light: #7a6fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#3039aa",
  "rgb": {
    "r": 48,
    "g": 57,
    "b": 170
  },
  "hsl": {
    "h": 235.574,
    "s": 55.963,
    "l": 42.745
  },
  "oklch": {
    "l": 0.41537,
    "c": 0.17784,
    "h": 272.3
  },
  "luminance": 0.06457
}

Semantic roles & 50–950 ramp

primary
#3039AA
secondary
#C2BC74
accent
#D449DF
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3039AA

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

Preview Lab → · Contrast checker → · Palette generator →

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