#3039A2#3039A2

#3039A2 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.8% C 0.167 H 272.7°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#3039A2
RGBrgb(48, 57, 162)
HSLhsl(235, 54%, 41%)
HSVhsv(235, 70%, 64%)
CMYKcmyk(70.4%, 64.8%, 0%, 36.5%)
CIE-LABlab(29.82, 32.09, -57.85)
CIE-LCHlch(29.82, 66.15, 299.02°)
OKLaboklab(40.79% 0.0078 -0.167)
OKLCHoklch(40.79% 0.167 272.7)
XYZxyz(9.2014, 6.1624, 34.8800)
Luminance0.0616 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3039A2 #A29930
analogous
#3072A2 #3039A2 #6030A2
triadic
#3039A2 #A23039 #39A230
tetradic
#3039A2 #A23072 #A29930 #30A260
square
#3039A2 #A23072 #A29930 #30A260
split-complementary
#3039A2 #A26030 #72A230
monochromatic
#141844 #222873 #3039A2 #4751C8 #767ED6

Accessibility & contrast

On white

9.41
#3039A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#3039A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3039A2
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3039A2#FFFFFF#000000##FFFFFF
##3039A21.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA5
Deuteranopia (green-blind)
#0041A0
Tritanopia (blue-blind)
#005468
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3039a2;
/* rgb */ color: rgb(48, 57, 162);
/* oklch */ color: oklch(40.8% 0.167 272.7);
Tailwind
colors: {
  custom: {
    50: '#786fbe',
    500: '#3039a2',
    950: '#000000',
  },
}
SCSS
$custom: #3039a2;
$custom-light: #786fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#3039a2",
  "rgb": {
    "r": 48,
    "g": 57,
    "b": 162
  },
  "hsl": {
    "h": 235.263,
    "s": 54.286,
    "l": 41.176
  },
  "oklch": {
    "l": 0.40793,
    "c": 0.16721,
    "h": 272.7
  },
  "luminance": 0.06163
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3039A2

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

Preview Lab → · Contrast checker → · Palette generator →

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