#3035B2#3035B2

#3035B2 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.6% C 0.193 H 272.6°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#3035B2
RGBrgb(48, 53, 178)
HSLhsl(238, 58%, 44%)
HSVhsv(238, 73%, 70%)
CMYKcmyk(73%, 70.2%, 0%, 30.2%)
CIE-LABlab(30.37, 40.23, -66.54)
CIE-LCHlch(30.37, 77.76, 301.16°)
OKLaboklab(41.65% 0.0088 -0.1925)
OKLCHoklch(41.65% 0.193 272.6)
XYZxyz(10.5252, 6.3879, 42.7891)
Luminance0.0639 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3035B2 #B2AD30
analogous
#3076B2 #3035B2 #6C30B2
triadic
#3035B2 #B23035 #35B230
tetradic
#3035B2 #B23076 #B2AD30 #30B26C
square
#3035B2 #B23076 #B2AD30 #30B26C
split-complementary
#3035B2 #B26C30 #76B230
monochromatic
#161852 #232782 #3035B2 #5054D0 #8083DD

Accessibility & contrast

On white

9.22
#3035B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#3035B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3035B2
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3035B2#FFFFFF#000000##FFFFFF
##3035B21.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB6
Deuteranopia (green-blind)
#0041B0
Tritanopia (blue-blind)
#00586F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3035b2;
/* rgb */ color: rgb(48, 53, 178);
/* oklch */ color: oklch(41.6% 0.193 272.6);
Tailwind
colors: {
  custom: {
    50: '#7c6dca',
    500: '#3035b2',
    950: '#000000',
  },
}
SCSS
$custom: #3035b2;
$custom-light: #7c6dca;
$custom-dark: #000000;
JSON
{
  "hex": "#3035b2",
  "rgb": {
    "r": 48,
    "g": 53,
    "b": 178
  },
  "hsl": {
    "h": 237.692,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.41647,
    "c": 0.19268,
    "h": 272.6
  },
  "luminance": 0.06389
}

Semantic roles & 50–950 ramp

primary
#3035B2
secondary
#C6C378
accent
#DB47E1
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3035B2

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

Preview Lab → · Contrast checker → · Palette generator →

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