#3035A6#3035A6

#3035A6 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.5% C 0.177 H 273.3°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#3035A6
RGBrgb(48, 53, 166)
HSLhsl(237, 55%, 42%)
HSVhsv(237, 71%, 65%)
CMYKcmyk(71.1%, 68.1%, 0%, 34.9%)
CIE-LABlab(29.23, 36.05, -61.23)
CIE-LCHlch(29.23, 71.06, 300.49°)
OKLaboklab(40.47% 0.0102 -0.177)
OKLCHoklch(40.47% 0.177 273.3)
XYZxyz(9.3727, 5.9269, 36.7191)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3035A6 #A6A130
analogous
#3070A6 #3035A6 #6630A6
triadic
#3035A6 #A63035 #35A630
tetradic
#3035A6 #A63070 #A6A130 #30A666
square
#3035A6 #A63070 #A6A130 #30A666
split-complementary
#3035A6 #A66630 #70A630
monochromatic
#151747 #222677 #3035A6 #494ECA #787CD8

Accessibility & contrast

On white

9.61
#3035A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#3035A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3035A6
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3035A6#FFFFFF#000000##FFFFFF
##3035A61.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA9
Deuteranopia (green-blind)
#003FA4
Tritanopia (blue-blind)
#005369
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3035a6;
/* rgb */ color: rgb(48, 53, 166);
/* oklch */ color: oklch(40.5% 0.177 273.3);
Tailwind
colors: {
  custom: {
    50: '#796dc1',
    500: '#3035a6',
    950: '#000000',
  },
}
SCSS
$custom: #3035a6;
$custom-light: #796dc1;
$custom-dark: #000000;
JSON
{
  "hex": "#3035a6",
  "rgb": {
    "r": 48,
    "g": 53,
    "b": 166
  },
  "hsl": {
    "h": 237.458,
    "s": 55.14,
    "l": 41.961
  },
  "oklch": {
    "l": 0.40473,
    "c": 0.17725,
    "h": 273.3
  },
  "luminance": 0.05928
}

Semantic roles & 50–950 ramp

primary
#3035A6
secondary
#C0BD71
accent
#D849DE
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #3035A6

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

Preview Lab → · Contrast checker → · Palette generator →

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