#35278B#35278B

#35278B is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.0% C 0.157 H 281.4°. Best body text is #FFFFFF at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#35278B
RGBrgb(53, 39, 139)
HSLhsl(248, 56%, 35%)
HSVhsv(248, 72%, 55%)
CMYKcmyk(61.9%, 71.9%, 0%, 45.5%)
CIE-LABlab(23.91, 36.09, -53.41)
CIE-LCHlch(23.91, 64.46, 304.05°)
OKLaboklab(35.96% 0.031 -0.1539)
OKLCHoklch(35.96% 0.157 281.4)
XYZxyz(6.8525, 4.0715, 24.8459)
Luminance0.0407 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35278B #7D8B27
analogous
#274B8B #35278B #67278B
triadic
#35278B #8B3527 #278B35
tetradic
#35278B #8B274B #7D8B27 #278B67
square
#35278B #8B274B #7D8B27 #278B67
split-complementary
#35278B #8B6727 #4B8B27
monochromatic
#110C2B #231A5B #35278B #4734BB #6C5BD1

Accessibility & contrast

On white

11.57
#35278B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#35278B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35278B
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35278B#FFFFFF#000000##FFFFFF
##35278B1.0011.571.8111.57
#FFFFFF11.571.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8E
Deuteranopia (green-blind)
#003589
Tritanopia (blue-blind)
#004256
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #35278b;
/* rgb */ color: rgb(53, 39, 139);
/* oklch */ color: oklch(36.0% 0.157 281.4);
Tailwind
colors: {
  custom: {
    50: '#7763ae',
    500: '#35278b',
    950: '#000000',
  },
}
SCSS
$custom: #35278b;
$custom-light: #7763ae;
$custom-dark: #000000;
JSON
{
  "hex": "#35278b",
  "rgb": {
    "r": 53,
    "g": 39,
    "b": 139
  },
  "hsl": {
    "h": 248.4,
    "s": 56.18,
    "l": 34.902
  },
  "oklch": {
    "l": 0.35958,
    "c": 0.15702,
    "h": 281.4
  },
  "luminance": 0.04072
}

Semantic roles & 50–950 ramp

primary
#35278B
secondary
#A9B658
accent
#DF48CA
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #35278B

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

Preview Lab → · Contrast checker → · Palette generator →

#35278B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva