#3039A3#3039A3

#3039A3 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.9% C 0.169 H 272.6°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#3039A3
RGBrgb(48, 57, 163)
HSLhsl(235, 55%, 41%)
HSVhsv(235, 71%, 64%)
CMYKcmyk(70.6%, 65%, 0%, 36.1%)
CIE-LABlab(29.91, 32.45, -58.31)
CIE-LCHlch(29.91, 66.73, 299.10°)
OKLaboklab(40.89% 0.0077 -0.1684)
OKLCHoklch(40.89% 0.169 272.6)
XYZxyz(9.2907, 6.1981, 35.3500)
Luminance0.0620 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3039A3 #A39A30
analogous
#3073A3 #3039A3 #6130A3
triadic
#3039A3 #A33039 #39A330
tetradic
#3039A3 #A33073 #A39A30 #30A361
square
#3039A3 #A33073 #A39A30 #30A361
split-complementary
#3039A3 #A36130 #73A330
monochromatic
#141844 #222874 #3039A3 #4751C9 #777ED7

Accessibility & contrast

On white

9.38
#3039A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#3039A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3039A3#FFFFFF#000000##FFFFFF
##3039A31.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA6
Deuteranopia (green-blind)
#0041A1
Tritanopia (blue-blind)
#005568
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3039a3;
/* rgb */ color: rgb(48, 57, 163);
/* oklch */ color: oklch(40.9% 0.169 272.6);
Tailwind
colors: {
  custom: {
    50: '#786fbf',
    500: '#3039a3',
    950: '#000000',
  },
}
SCSS
$custom: #3039a3;
$custom-light: #786fbf;
$custom-dark: #000000;
JSON
{
  "hex": "#3039a3",
  "rgb": {
    "r": 48,
    "g": 57,
    "b": 163
  },
  "hsl": {
    "h": 235.304,
    "s": 54.502,
    "l": 41.373
  },
  "oklch": {
    "l": 0.40885,
    "c": 0.16856,
    "h": 272.6
  },
  "luminance": 0.06199
}

Semantic roles & 50–950 ramp

primary
#3039A3
secondary
#BFB970
accent
#D24ADE
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #3039A3

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

Preview Lab → · Contrast checker → · Palette generator →

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