#3039AB#3039AB

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

Color values

HEX#3039AB
RGBrgb(48, 57, 171)
HSLhsl(236, 56%, 43%)
HSVhsv(236, 72%, 67%)
CMYKcmyk(71.9%, 66.7%, 0%, 32.9%)
CIE-LABlab(30.63, 35.31, -61.94)
CIE-LCHlch(30.63, 71.30, 299.68°)
OKLaboklab(41.63% 0.0071 -0.179)
OKLCHoklch(41.63% 0.179 272.3)
XYZxyz(10.0303, 6.4939, 39.2450)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3039AB #ABA230
analogous
#3076AB #3039AB #6530AB
triadic
#3039AB #AB3039 #39AB30
tetradic
#3039AB #AB3076 #ABA230 #30AB65
square
#3039AB #AB3076 #ABA230 #30AB65
split-complementary
#3039AB #AB6530 #76AB30
monochromatic
#15194B #23297B #3039AB #4C55CD #7B82DA

Accessibility & contrast

On white

9.13
#3039AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#3039AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3039AB#FFFFFF#000000##FFFFFF
##3039AB1.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAF
Deuteranopia (green-blind)
#0042A9
Tritanopia (blue-blind)
#00576D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3039ab;
/* rgb */ color: rgb(48, 57, 171);
/* oklch */ color: oklch(41.6% 0.179 272.3);
Tailwind
colors: {
  custom: {
    50: '#7a6fc5',
    500: '#3039ab',
    950: '#000000',
  },
}
SCSS
$custom: #3039ab;
$custom-light: #7a6fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#3039ab",
  "rgb": {
    "r": 48,
    "g": 57,
    "b": 171
  },
  "hsl": {
    "h": 235.61,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.41631,
    "c": 0.17916,
    "h": 272.3
  },
  "luminance": 0.06495
}

Semantic roles & 50–950 ramp

primary
#3039AB
secondary
#C3BD74
accent
#D448DF
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3039AB

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

Preview Lab → · Contrast checker → · Palette generator →

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