#3036A2#3036A2

#3036A2 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.3% C 0.171 H 273.3°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#3036A2
RGBrgb(48, 54, 162)
HSLhsl(237, 54%, 41%)
HSVhsv(237, 70%, 64%)
CMYKcmyk(70.4%, 66.7%, 0%, 36.5%)
CIE-LABlab(29.09, 34.01, -59.04)
CIE-LCHlch(29.09, 68.13, 299.95°)
OKLaboklab(40.26% 0.0099 -0.1705)
OKLCHoklch(40.26% 0.171 273.3)
XYZxyz(9.0575, 5.8745, 34.8320)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3036A2 #A29C30
analogous
#306FA2 #3036A2 #6330A2
triadic
#3036A2 #A23036 #36A230
tetradic
#3036A2 #A2306F #A29C30 #30A263
square
#3036A2 #A2306F #A29C30 #30A263
split-complementary
#3036A2 #A26330 #6FA230
monochromatic
#141744 #222673 #3036A2 #474EC8 #767BD6

Accessibility & contrast

On white

9.66
#3036A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#3036A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3036A2
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3036A2#FFFFFF#000000##FFFFFF
##3036A21.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA5
Deuteranopia (green-blind)
#003FA0
Tritanopia (blue-blind)
#005267
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3036a2;
/* rgb */ color: rgb(48, 54, 162);
/* oklch */ color: oklch(40.3% 0.171 273.3);
Tailwind
colors: {
  custom: {
    50: '#786dbf',
    500: '#3036a2',
    950: '#000000',
  },
}
SCSS
$custom: #3036a2;
$custom-light: #786dbf;
$custom-dark: #000000;
JSON
{
  "hex": "#3036a2",
  "rgb": {
    "r": 48,
    "g": 54,
    "b": 162
  },
  "hsl": {
    "h": 236.842,
    "s": 54.286,
    "l": 41.176
  },
  "oklch": {
    "l": 0.40263,
    "c": 0.17082,
    "h": 273.3
  },
  "luminance": 0.05875
}

Semantic roles & 50–950 ramp

primary
#3036A2
secondary
#BEBA6F
accent
#D64ADE
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #3036A2

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

Preview Lab → · Contrast checker → · Palette generator →

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