#3035A2#3035A2

#3035A2 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.1% C 0.172 H 273.5°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#3035A2
RGBrgb(48, 53, 162)
HSLhsl(237, 54%, 41%)
HSVhsv(237, 70%, 64%)
CMYKcmyk(70.4%, 67.3%, 0%, 36.5%)
CIE-LABlab(28.86, 34.65, -59.42)
CIE-LCHlch(28.86, 68.79, 300.24°)
OKLaboklab(40.09% 0.0106 -0.1717)
OKLCHoklch(40.09% 0.172 273.5)
XYZxyz(9.0114, 5.7824, 34.8166)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3035A2 #A29D30
analogous
#306EA2 #3035A2 #6430A2
triadic
#3035A2 #A23035 #35A230
tetradic
#3035A2 #A2306E #A29D30 #30A264
square
#3035A2 #A2306E #A29D30 #30A264
split-complementary
#3035A2 #A26430 #6EA230
monochromatic
#141644 #222673 #3035A2 #474CC8 #767AD6

Accessibility & contrast

On white

9.74
#3035A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#3035A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3035A2
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3035A2#FFFFFF#000000##FFFFFF
##3035A21.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A5
Deuteranopia (green-blind)
#003FA0
Tritanopia (blue-blind)
#005267
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3035a2;
/* rgb */ color: rgb(48, 53, 162);
/* oklch */ color: oklch(40.1% 0.172 273.5);
Tailwind
colors: {
  custom: {
    50: '#786cbf',
    500: '#3035a2',
    950: '#000000',
  },
}
SCSS
$custom: #3035a2;
$custom-light: #786cbf;
$custom-dark: #000000;
JSON
{
  "hex": "#3035a2",
  "rgb": {
    "r": 48,
    "g": 53,
    "b": 162
  },
  "hsl": {
    "h": 237.368,
    "s": 54.286,
    "l": 41.176
  },
  "oklch": {
    "l": 0.40091,
    "c": 0.172,
    "h": 273.5
  },
  "luminance": 0.05783
}

Semantic roles & 50–950 ramp

primary
#3035A2
secondary
#BEBB6F
accent
#D74ADE
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #3035A2

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

Preview Lab → · Contrast checker → · Palette generator →

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