#3039AF#3039AF

#3039AF is a dark, vivid blue. Relative luminance 0.067; OKLCH L 42.0% C 0.184 H 272.1°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#3039AF
RGBrgb(48, 57, 175)
HSLhsl(236, 57%, 44%)
HSVhsv(236, 73%, 69%)
CMYKcmyk(72.6%, 67.4%, 0%, 31.4%)
CIE-LABlab(30.99, 36.72, -63.73)
CIE-LCHlch(30.99, 73.56, 299.95°)
OKLaboklab(42.01% 0.0067 -0.1843)
OKLCHoklch(42.01% 0.184 272.1)
XYZxyz(10.4173, 6.6487, 41.2835)
Luminance0.0665 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3039AF #AFA630
analogous
#3078AF #3039AF #6630AF
triadic
#3039AF #AF3039 #39AF30
tetradic
#3039AF #AF3078 #AFA630 #30AF66
square
#3039AF #AF3078 #AFA630 #30AF66
split-complementary
#3039AF #AF6630 #78AF30
monochromatic
#161A4F #23297F #3039AF #4E57CE #7E84DC

Accessibility & contrast

On white

9.01
#3039AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#3039AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3039AF#FFFFFF#000000##FFFFFF
##3039AF1.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB3
Deuteranopia (green-blind)
#0043AD
Tritanopia (blue-blind)
#00596F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3039af;
/* rgb */ color: rgb(48, 57, 175);
/* oklch */ color: oklch(42.0% 0.184 272.1);
Tailwind
colors: {
  custom: {
    50: '#7b70c8',
    500: '#3039af',
    950: '#000000',
  },
}
SCSS
$custom: #3039af;
$custom-light: #7b70c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3039af",
  "rgb": {
    "r": 48,
    "g": 57,
    "b": 175
  },
  "hsl": {
    "h": 235.748,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.42011,
    "c": 0.18438,
    "h": 272.1
  },
  "luminance": 0.0665
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3039AF

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

Preview Lab → · Contrast checker → · Palette generator →

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