#35368B#35368B

#35368B is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.5% C 0.138 H 277.2°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#35368B
RGBrgb(53, 54, 139)
HSLhsl(239, 45%, 38%)
HSVhsv(239, 62%, 55%)
CMYKcmyk(61.9%, 61.2%, 0%, 45.5%)
CIE-LABlab(27.46, 26.62, -47.61)
CIE-LCHlch(27.46, 54.55, 299.21°)
OKLaboklab(38.54% 0.0174 -0.1369)
OKLCHoklch(38.54% 0.138 277.2)
XYZxyz(7.4461, 5.2587, 25.0437)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35368B #8B8A35
analogous
#35618B #35368B #5F358B
triadic
#35368B #8B3536 #368B35
tetradic
#35368B #8B3561 #8B8A35 #358B5F
square
#35368B #8B3561 #8B8A35 #358B5F
split-complementary
#35368B #8B5F35 #618B35
monochromatic
#131432 #24255F #35368B #4647B7 #7172C9

Accessibility & contrast

On white

10.23
#35368B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#35368B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35368B
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35368B#FFFFFF#000000##FFFFFF
##35368B1.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458E
Deuteranopia (green-blind)
#003D89
Tritanopia (blue-blind)
#004B5B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #35368b;
/* rgb */ color: rgb(53, 54, 139);
/* oklch */ color: oklch(38.5% 0.138 277.2);
Tailwind
colors: {
  custom: {
    50: '#766dae',
    500: '#35368b',
    950: '#000000',
  },
}
SCSS
$custom: #35368b;
$custom-light: #766dae;
$custom-dark: #000000;
JSON
{
  "hex": "#35368b",
  "rgb": {
    "r": 53,
    "g": 54,
    "b": 139
  },
  "hsl": {
    "h": 239.302,
    "s": 44.792,
    "l": 37.647
  },
  "oklch": {
    "l": 0.38541,
    "c": 0.13796,
    "h": 277.2
  },
  "luminance": 0.05259
}

Semantic roles & 50–950 ramp

primary
#35368B
secondary
#B1B16A
accent
#D353D4
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #35368B

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

Preview Lab → · Contrast checker → · Palette generator →

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