#3035AB#3035AB

#3035AB is a dark, vivid blue. Relative luminance 0.061; OKLCH L 41.0% C 0.184 H 273.0°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#3035AB
RGBrgb(48, 53, 171)
HSLhsl(238, 56%, 43%)
HSVhsv(238, 72%, 67%)
CMYKcmyk(71.9%, 69%, 0%, 32.9%)
CIE-LABlab(29.70, 37.80, -63.47)
CIE-LCHlch(29.70, 73.87, 300.78°)
OKLaboklab(40.96% 0.0096 -0.1835)
OKLCHoklch(40.96% 0.184 273)
XYZxyz(9.8402, 6.1139, 39.1817)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3035AB #ABA630
analogous
#3072AB #3035AB #6830AB
triadic
#3035AB #AB3035 #35AB30
tetradic
#3035AB #AB3072 #ABA630 #30AB68
square
#3035AB #AB3072 #ABA630 #30AB68
split-complementary
#3035AB #AB6830 #72AB30
monochromatic
#15174B #23267B #3035AB #4C51CD #7B7FDA

Accessibility & contrast

On white

9.45
#3035AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#3035AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3035AB
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3035AB#FFFFFF#000000##FFFFFF
##3035AB1.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAF
Deuteranopia (green-blind)
#0040A9
Tritanopia (blue-blind)
#00556C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3035ab;
/* rgb */ color: rgb(48, 53, 171);
/* oklch */ color: oklch(41.0% 0.184 273.0);
Tailwind
colors: {
  custom: {
    50: '#7a6dc5',
    500: '#3035ab',
    950: '#000000',
  },
}
SCSS
$custom: #3035ab;
$custom-light: #7a6dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#3035ab",
  "rgb": {
    "r": 48,
    "g": 53,
    "b": 171
  },
  "hsl": {
    "h": 237.561,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.40958,
    "c": 0.18374,
    "h": 273
  },
  "luminance": 0.06115
}

Semantic roles & 50–950 ramp

primary
#3035AB
secondary
#C3BF74
accent
#D948DF
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3035AB

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

Preview Lab → · Contrast checker → · Palette generator →

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