#3039AE#3039AE

#3039AE is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.9% C 0.183 H 272.1°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#3039AE
RGBrgb(48, 57, 174)
HSLhsl(236, 57%, 44%)
HSVhsv(236, 72%, 68%)
CMYKcmyk(72.4%, 67.2%, 0%, 31.8%)
CIE-LABlab(30.90, 36.37, -63.29)
CIE-LCHlch(30.90, 72.99, 299.89°)
OKLaboklab(41.92% 0.0068 -0.1829)
OKLCHoklch(41.92% 0.183 272.1)
XYZxyz(10.3195, 6.6096, 40.7681)
Luminance0.0661 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3039AE #AEA530
analogous
#3078AE #3039AE #6630AE
triadic
#3039AE #AE3039 #39AE30
tetradic
#3039AE #AE3078 #AEA530 #30AE66
square
#3039AE #AE3078 #AEA530 #30AE66
split-complementary
#3039AE #AE6630 #78AE30
monochromatic
#161A4E #23297E #3039AE #4D56CE #7D84DB

Accessibility & contrast

On white

9.04
#3039AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#3039AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3039AE#FFFFFF#000000##FFFFFF
##3039AE1.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3039ae;
/* rgb */ color: rgb(48, 57, 174);
/* oklch */ color: oklch(41.9% 0.183 272.1);
Tailwind
colors: {
  custom: {
    50: '#7b70c7',
    500: '#3039ae',
    950: '#000000',
  },
}
SCSS
$custom: #3039ae;
$custom-light: #7b70c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3039ae",
  "rgb": {
    "r": 48,
    "g": 57,
    "b": 174
  },
  "hsl": {
    "h": 235.714,
    "s": 56.757,
    "l": 43.529
  },
  "oklch": {
    "l": 0.41915,
    "c": 0.18308,
    "h": 272.1
  },
  "luminance": 0.06611
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3039AE

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

Preview Lab → · Contrast checker → · Palette generator →

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