#35399B#35399B

#35399B is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.5% C 0.156 H 275.1°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#35399B
RGBrgb(53, 57, 155)
HSLhsl(238, 49%, 41%)
HSVhsv(238, 66%, 61%)
CMYKcmyk(65.8%, 63.2%, 0%, 39.2%)
CIE-LABlab(29.54, 30.31, -54.05)
CIE-LCHlch(29.54, 61.97, 299.28°)
OKLaboklab(40.48% 0.014 -0.1558)
OKLCHoklch(40.48% 0.156 275.1)
XYZxyz(8.8458, 6.0489, 31.7054)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35399B #9B9735
analogous
#356C9B #35399B #64359B
triadic
#35399B #9B3539 #399B35
tetradic
#35399B #9B356C #9B9735 #359B64
square
#35399B #9B356C #9B9735 #359B64
split-complementary
#35399B #9B6435 #6C9B35
monochromatic
#161740 #25286D #35399B #4C50C2 #797DD1

Accessibility & contrast

On white

9.50
#35399B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#35399B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35399B
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35399B#FFFFFF#000000##FFFFFF
##35399B1.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9E
Deuteranopia (green-blind)
#004199
Tritanopia (blue-blind)
#005264
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #35399b;
/* rgb */ color: rgb(53, 57, 155);
/* oklch */ color: oklch(40.5% 0.156 275.1);
Tailwind
colors: {
  custom: {
    50: '#796fb9',
    500: '#35399b',
    950: '#000000',
  },
}
SCSS
$custom: #35399b;
$custom-light: #796fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#35399b",
  "rgb": {
    "r": 53,
    "g": 57,
    "b": 155
  },
  "hsl": {
    "h": 237.647,
    "s": 49.038,
    "l": 40.784
  },
  "oklch": {
    "l": 0.40483,
    "c": 0.15639,
    "h": 275.1
  },
  "luminance": 0.0605
}

Semantic roles & 50–950 ramp

primary
#35399B
secondary
#BAB772
accent
#D34FD9
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #35399B

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

Preview Lab → · Contrast checker → · Palette generator →

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