#3039A5#3039A5

#3039A5 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.1% C 0.171 H 272.5°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#3039A5
RGBrgb(48, 57, 165)
HSLhsl(235, 55%, 42%)
HSVhsv(235, 71%, 65%)
CMYKcmyk(70.9%, 65.5%, 0%, 35.3%)
CIE-LABlab(30.08, 33.17, -59.23)
CIE-LCHlch(30.08, 67.88, 299.25°)
OKLaboklab(41.07% 0.0076 -0.1711)
OKLCHoklch(41.07% 0.171 272.5)
XYZxyz(9.4713, 6.2703, 36.3012)
Luminance0.0627 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3039A5 #A59C30
analogous
#3074A5 #3039A5 #6230A5
triadic
#3039A5 #A53039 #39A530
tetradic
#3039A5 #A53074 #A59C30 #30A562
square
#3039A5 #A53074 #A59C30 #30A562
split-complementary
#3039A5 #A56230 #74A530
monochromatic
#141846 #222976 #3039A5 #4852CA #787FD8

Accessibility & contrast

On white

9.32
#3039A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#3039A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3039A5#FFFFFF#000000##FFFFFF
##3039A51.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA8
Deuteranopia (green-blind)
#0041A3
Tritanopia (blue-blind)
#00556A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3039a5;
/* rgb */ color: rgb(48, 57, 165);
/* oklch */ color: oklch(41.1% 0.171 272.5);
Tailwind
colors: {
  custom: {
    50: '#796fc1',
    500: '#3039a5',
    950: '#000000',
  },
}
SCSS
$custom: #3039a5;
$custom-light: #796fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#3039a5",
  "rgb": {
    "r": 48,
    "g": 57,
    "b": 165
  },
  "hsl": {
    "h": 235.385,
    "s": 54.93,
    "l": 41.765
  },
  "oklch": {
    "l": 0.4107,
    "c": 0.17123,
    "h": 272.5
  },
  "luminance": 0.06271
}

Semantic roles & 50–950 ramp

primary
#3039A5
secondary
#C0BA71
accent
#D34ADE
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #3039A5

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

Preview Lab → · Contrast checker → · Palette generator →

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