#35388E#35388E

#35388E is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.2% C 0.140 H 276.3°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#35388E
RGBrgb(53, 56, 142)
HSLhsl(238, 46%, 38%)
HSVhsv(238, 63%, 56%)
CMYKcmyk(62.7%, 60.6%, 0%, 44.3%)
CIE-LABlab(28.21, 26.36, -48.24)
CIE-LCHlch(28.21, 54.97, 298.65°)
OKLaboklab(39.17% 0.0154 -0.1387)
OKLCHoklch(39.17% 0.14 276.3)
XYZxyz(7.7633, 5.5376, 26.2457)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35388E #8E8B35
analogous
#35648E #35388E #5E358E
triadic
#35388E #8E3538 #388E35
tetradic
#35388E #8E3564 #8E8B35 #358E5E
square
#35388E #8E3564 #8E8B35 #358E5E
split-complementary
#35388E #8E5E35 #648E35
monochromatic
#141535 #242661 #35388E #464ABA #7376CB

Accessibility & contrast

On white

9.96
#35388E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#35388E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35388E
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35388E#FFFFFF#000000##FFFFFF
##35388E1.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004691
Deuteranopia (green-blind)
#003F8C
Tritanopia (blue-blind)
#004D5D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #35388e;
/* rgb */ color: rgb(53, 56, 142);
/* oklch */ color: oklch(39.2% 0.140 276.3);
Tailwind
colors: {
  custom: {
    50: '#766eb0',
    500: '#35388e',
    950: '#000000',
  },
}
SCSS
$custom: #35388e;
$custom-light: #766eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#35388e",
  "rgb": {
    "r": 53,
    "g": 56,
    "b": 142
  },
  "hsl": {
    "h": 237.978,
    "s": 45.641,
    "l": 38.235
  },
  "oklch": {
    "l": 0.39175,
    "c": 0.13954,
    "h": 276.3
  },
  "luminance": 0.05538
}

Semantic roles & 50–950 ramp

primary
#35388E
secondary
#B3B16C
accent
#D152D5
background
#F7F6FA
surface
#EEECF5
border
#C9C7CF
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #35388E

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

Preview Lab → · Contrast checker → · Palette generator →

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