#3035B6#3035B6

#3035B6 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 42.0% C 0.198 H 272.4°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#3035B6
RGBrgb(48, 53, 182)
HSLhsl(238, 58%, 45%)
HSVhsv(238, 74%, 71%)
CMYKcmyk(73.6%, 70.9%, 0%, 28.6%)
CIE-LABlab(30.76, 41.60, -68.28)
CIE-LCHlch(30.76, 79.96, 301.35°)
OKLaboklab(42.05% 0.0082 -0.1975)
OKLCHoklch(42.05% 0.198 272.4)
XYZxyz(10.9327, 6.5509, 44.9352)
Luminance0.0655 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3035B6 #B6B130
analogous
#3078B6 #3035B6 #6E30B6
triadic
#3035B6 #B63035 #35B630
tetradic
#3035B6 #B63078 #B6B130 #30B66E
square
#3035B6 #B63078 #B6B130 #30B66E
split-complementary
#3035B6 #B66E30 #78B630
monochromatic
#161955 #232786 #3035B6 #5257D1 #8286DE

Accessibility & contrast

On white

9.09
#3035B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#3035B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3035B6
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3035B6#FFFFFF#000000##FFFFFF
##3035B61.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBA
Deuteranopia (green-blind)
#0042B4
Tritanopia (blue-blind)
#005972
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3035b6;
/* rgb */ color: rgb(48, 53, 182);
/* oklch */ color: oklch(42.0% 0.198 272.4);
Tailwind
colors: {
  custom: {
    50: '#7d6dcd',
    500: '#3035b6',
    950: '#000000',
  },
}
SCSS
$custom: #3035b6;
$custom-light: #7d6dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#3035b6",
  "rgb": {
    "r": 48,
    "g": 53,
    "b": 182
  },
  "hsl": {
    "h": 237.761,
    "s": 58.261,
    "l": 45.098
  },
  "oklch": {
    "l": 0.42046,
    "c": 0.19771,
    "h": 272.4
  },
  "luminance": 0.06552
}

Semantic roles & 50–950 ramp

primary
#3035B6
secondary
#C7C47B
accent
#DC46E1
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #3035B6

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

Preview Lab → · Contrast checker → · Palette generator →

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