#3035A4#3035A4

#3035A4 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.3% C 0.175 H 273.4°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#3035A4
RGBrgb(48, 53, 164)
HSLhsl(237, 55%, 42%)
HSVhsv(237, 71%, 64%)
CMYKcmyk(70.7%, 67.7%, 0%, 35.7%)
CIE-LABlab(29.04, 35.35, -60.33)
CIE-LCHlch(29.04, 69.93, 300.37°)
OKLaboklab(40.28% 0.0104 -0.1743)
OKLCHoklch(40.28% 0.175 273.4)
XYZxyz(9.1906, 5.8540, 35.7604)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3035A4 #A49F30
analogous
#306FA4 #3035A4 #6530A4
triadic
#3035A4 #A43035 #35A430
tetradic
#3035A4 #A4306F #A49F30 #30A465
square
#3035A4 #A4306F #A49F30 #30A465
split-complementary
#3035A4 #A46530 #6FA430
monochromatic
#141645 #222675 #3035A4 #484DC9 #777BD7

Accessibility & contrast

On white

9.67
#3035A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#3035A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3035A4
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3035A4#FFFFFF#000000##FFFFFF
##3035A41.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA7
Deuteranopia (green-blind)
#003FA2
Tritanopia (blue-blind)
#005368
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3035a4;
/* rgb */ color: rgb(48, 53, 164);
/* oklch */ color: oklch(40.3% 0.175 273.4);
Tailwind
colors: {
  custom: {
    50: '#796dc0',
    500: '#3035a4',
    950: '#000000',
  },
}
SCSS
$custom: #3035a4;
$custom-light: #796dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#3035a4",
  "rgb": {
    "r": 48,
    "g": 53,
    "b": 164
  },
  "hsl": {
    "h": 237.414,
    "s": 54.717,
    "l": 41.569
  },
  "oklch": {
    "l": 0.40282,
    "c": 0.17463,
    "h": 273.4
  },
  "luminance": 0.05855
}

Semantic roles & 50–950 ramp

primary
#3035A4
secondary
#BFBC70
accent
#D84ADE
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #3035A4

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

Preview Lab → · Contrast checker → · Palette generator →

#3035A4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva