#35249E#35249E

#35249E is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.5% C 0.184 H 279.0°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#35249E
RGBrgb(53, 36, 158)
HSLhsl(248, 63%, 38%)
HSVhsv(248, 77%, 62%)
CMYKcmyk(66.5%, 77.2%, 0%, 38%)
CIE-LABlab(25.22, 43.88, -62.96)
CIE-LCHlch(25.22, 76.75, 304.87°)
OKLaboklab(37.46% 0.0289 -0.1818)
OKLCHoklch(37.46% 0.184 279)
XYZxyz(8.2687, 4.4866, 32.7714)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35249E #8D9E24
analogous
#24509E #35249E #72249E
triadic
#35249E #9E3524 #249E35
tetradic
#35249E #9E2450 #8D9E24 #249E72
square
#35249E #9E2450 #8D9E24 #249E72
split-complementary
#35249E #9E7224 #509E24
monochromatic
#140D3A #24196C #35249E #462FD0 #7261DB

Accessibility & contrast

On white

11.07
#35249E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#35249E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35249E
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35249E#FFFFFF#000000##FFFFFF
##35249E1.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A1
Deuteranopia (green-blind)
#00379C
Tritanopia (blue-blind)
#004860
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #35249e;
/* rgb */ color: rgb(53, 36, 158);
/* oklch */ color: oklch(37.5% 0.184 279.0);
Tailwind
colors: {
  custom: {
    50: '#7b62bc',
    500: '#35249e',
    950: '#000000',
  },
}
SCSS
$custom: #35249e;
$custom-light: #7b62bc;
$custom-dark: #000000;
JSON
{
  "hex": "#35249e",
  "rgb": {
    "r": 53,
    "g": 36,
    "b": 158
  },
  "hsl": {
    "h": 248.361,
    "s": 62.887,
    "l": 38.039
  },
  "oklch": {
    "l": 0.37465,
    "c": 0.1841,
    "h": 279
  },
  "luminance": 0.04487
}

Semantic roles & 50–950 ramp

primary
#35249E
secondary
#B2C05E
accent
#E642CF
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #35249E

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

Preview Lab → · Contrast checker → · Palette generator →

#35249E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva