#3035A5#3035A5

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

Color values

HEX#3035A5
RGBrgb(48, 53, 165)
HSLhsl(237, 55%, 42%)
HSVhsv(237, 71%, 65%)
CMYKcmyk(70.9%, 67.9%, 0%, 35.3%)
CIE-LABlab(29.13, 35.70, -60.78)
CIE-LCHlch(29.13, 70.49, 300.43°)
OKLaboklab(40.38% 0.0103 -0.1756)
OKLCHoklch(40.38% 0.176 273.4)
XYZxyz(9.2813, 5.8903, 36.2378)
Luminance0.0589 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3035A5 #A5A030
analogous
#3070A5 #3035A5 #6630A5
triadic
#3035A5 #A53035 #35A530
tetradic
#3035A5 #A53070 #A5A030 #30A566
square
#3035A5 #A53070 #A5A030 #30A566
split-complementary
#3035A5 #A56630 #70A530
monochromatic
#141746 #222676 #3035A5 #484ECA #787CD8

Accessibility & contrast

On white

9.64
#3035A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#3035A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3035A5
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3035A5#FFFFFF#000000##FFFFFF
##3035A51.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA8
Deuteranopia (green-blind)
#003FA3
Tritanopia (blue-blind)
#005368
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3035a5;
/* rgb */ color: rgb(48, 53, 165);
/* oklch */ color: oklch(40.4% 0.176 273.4);
Tailwind
colors: {
  custom: {
    50: '#796dc1',
    500: '#3035a5',
    950: '#000000',
  },
}
SCSS
$custom: #3035a5;
$custom-light: #796dc1;
$custom-dark: #000000;
JSON
{
  "hex": "#3035a5",
  "rgb": {
    "r": 48,
    "g": 53,
    "b": 165
  },
  "hsl": {
    "h": 237.436,
    "s": 54.93,
    "l": 41.765
  },
  "oklch": {
    "l": 0.40377,
    "c": 0.17594,
    "h": 273.4
  },
  "luminance": 0.05891
}

Semantic roles & 50–950 ramp

primary
#3035A5
secondary
#C0BC71
accent
#D84ADE
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #3035A5

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

Preview Lab → · Contrast checker → · Palette generator →

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