#35248C#35248C

#35248C is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.6% C 0.162 H 281.8°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#35248C
RGBrgb(53, 36, 140)
HSLhsl(250, 59%, 35%)
HSVhsv(250, 74%, 55%)
CMYKcmyk(62.1%, 74.3%, 0%, 45.1%)
CIE-LABlab(23.38, 38.16, -54.90)
CIE-LCHlch(23.38, 66.86, 304.80°)
OKLaboklab(35.61% 0.0332 -0.1583)
OKLCHoklch(35.61% 0.162 281.8)
XYZxyz(6.8312, 3.9116, 25.2009)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35248C #7B8C24
analogous
#24478C #35248C #69248C
triadic
#35248C #8C3524 #248C35
tetradic
#35248C #8C2447 #7B8C24 #248C69
square
#35248C #8C2447 #7B8C24 #248C69
split-complementary
#35248C #8C6924 #478C24
monochromatic
#100B2B #23175B #35248C #4731BD #6B57D4

Accessibility & contrast

On white

11.78
#35248C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#35248C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35248C
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35248C#FFFFFF#000000##FFFFFF
##35248C1.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8F
Deuteranopia (green-blind)
#00348A
Tritanopia (blue-blind)
#004156
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #35248c;
/* rgb */ color: rgb(53, 36, 140);
/* oklch */ color: oklch(35.6% 0.162 281.8);
Tailwind
colors: {
  custom: {
    50: '#7761af',
    500: '#35248c',
    950: '#000000',
  },
}
SCSS
$custom: #35248c;
$custom-light: #7761af;
$custom-dark: #000000;
JSON
{
  "hex": "#35248c",
  "rgb": {
    "r": 53,
    "g": 36,
    "b": 140
  },
  "hsl": {
    "h": 249.808,
    "s": 59.091,
    "l": 34.51
  },
  "oklch": {
    "l": 0.35611,
    "c": 0.16172,
    "h": 281.8
  },
  "luminance": 0.03912
}

Semantic roles & 50–950 ramp

primary
#35248C
secondary
#A8B854
accent
#E246C9
background
#F7F5FA
surface
#EEEAF5
border
#C9C6CF
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #35248C

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

Preview Lab → · Contrast checker → · Palette generator →

#35248C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva