#3035B4#3035B4

#3035B4 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.8% C 0.195 H 272.5°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#3035B4
RGBrgb(48, 53, 180)
HSLhsl(238, 58%, 45%)
HSVhsv(238, 73%, 71%)
CMYKcmyk(73.3%, 70.6%, 0%, 29.4%)
CIE-LABlab(30.57, 40.92, -67.41)
CIE-LCHlch(30.57, 78.86, 301.26°)
OKLaboklab(41.85% 0.0085 -0.195)
OKLCHoklch(41.85% 0.195 272.5)
XYZxyz(10.7275, 6.4688, 43.8544)
Luminance0.0647 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3035B4 #B4AF30
analogous
#3077B4 #3035B4 #6D30B4
triadic
#3035B4 #B43035 #35B430
tetradic
#3035B4 #B43077 #B4AF30 #30B46D
square
#3035B4 #B43077 #B4AF30 #30B46D
split-complementary
#3035B4 #B46D30 #77B430
monochromatic
#161953 #232784 #3035B4 #5156D1 #8185DD

Accessibility & contrast

On white

9.15
#3035B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#3035B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3035B4
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3035B4#FFFFFF#000000##FFFFFF
##3035B41.009.152.299.15
#FFFFFF9.151.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB8
Deuteranopia (green-blind)
#0042B2
Tritanopia (blue-blind)
#005870
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3035b4;
/* rgb */ color: rgb(48, 53, 180);
/* oklch */ color: oklch(41.8% 0.195 272.5);
Tailwind
colors: {
  custom: {
    50: '#7d6dcc',
    500: '#3035b4',
    950: '#000000',
  },
}
SCSS
$custom: #3035b4;
$custom-light: #7d6dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#3035b4",
  "rgb": {
    "r": 48,
    "g": 53,
    "b": 180
  },
  "hsl": {
    "h": 237.727,
    "s": 57.895,
    "l": 44.706
  },
  "oklch": {
    "l": 0.41846,
    "c": 0.1952,
    "h": 272.5
  },
  "luminance": 0.0647
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3035B4

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

Preview Lab → · Contrast checker → · Palette generator →

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