#35387E#35387E

#35387E is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.9% C 0.116 H 277.5°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#35387E
RGBrgb(53, 56, 126)
HSLhsl(238, 41%, 35%)
HSVhsv(238, 58%, 49%)
CMYKcmyk(57.9%, 55.6%, 0%, 50.6%)
CIE-LABlab(26.99, 20.69, -40.26)
CIE-LCHlch(26.99, 45.26, 297.20°)
OKLaboklab(37.88% 0.0151 -0.1152)
OKLCHoklch(37.88% 0.116 277.5)
XYZxyz(6.6471, 5.0911, 20.3670)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35387E #7E7B35
analogous
#355D7E #35387E #56357E
triadic
#35387E #7E3538 #387E35
tetradic
#35387E #7E355D #7E7B35 #357E56
square
#35387E #7E355D #7E7B35 #357E56
split-complementary
#35387E #7E5635 #5D7E35
monochromatic
#111228 #232553 #35387E #474BA9 #6C70C1

Accessibility & contrast

On white

10.40
#35387E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#35387E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35387E
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35387E#FFFFFF#000000##FFFFFF
##35387E1.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E4380
Deuteranopia (green-blind)
#003D7D
Tritanopia (blue-blind)
#0E4855
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #35387e;
/* rgb */ color: rgb(53, 56, 126);
/* oklch */ color: oklch(37.9% 0.116 277.5);
Tailwind
colors: {
  custom: {
    50: '#736ea4',
    500: '#35387e',
    950: '#000000',
  },
}
SCSS
$custom: #35387e;
$custom-light: #736ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#35387e",
  "rgb": {
    "r": 53,
    "g": 56,
    "b": 126
  },
  "hsl": {
    "h": 237.534,
    "s": 40.782,
    "l": 35.098
  },
  "oklch": {
    "l": 0.37879,
    "c": 0.11618,
    "h": 277.5
  },
  "luminance": 0.05092
}

Semantic roles & 50–950 ramp

primary
#35387E
secondary
#AAA765
accent
#CC57D1
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08070F
muted
#7B7A7F

Preview Lab

Preview with #35387E

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

Preview Lab → · Contrast checker → · Palette generator →

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