#35397E#35397E

#35397E is a dark, moderate blue. Relative luminance 0.052; OKLCH L 38.1% C 0.115 H 277.0°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#35397E
RGBrgb(53, 57, 126)
HSLhsl(237, 41%, 35%)
HSVhsv(237, 58%, 49%)
CMYKcmyk(57.9%, 54.8%, 0%, 50.6%)
CIE-LABlab(27.27, 20.01, -39.81)
CIE-LCHlch(27.27, 44.56, 296.68°)
OKLaboklab(38.08% 0.0139 -0.1139)
OKLCHoklch(38.08% 0.115 277)
XYZxyz(6.6960, 5.1890, 20.3834)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35397E #7E7A35
analogous
#355E7E #35397E #55357E
triadic
#35397E #7E3539 #397E35
tetradic
#35397E #7E355E #7E7A35 #357E55
square
#35397E #7E355E #7E7A35 #357E55
split-complementary
#35397E #7E5535 #5E7E35
monochromatic
#111228 #232653 #35397E #474CA9 #6C71C1

Accessibility & contrast

On white

10.31
#35397E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#35397E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35397E
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35397E#FFFFFF#000000##FFFFFF
##35397E1.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114380
Deuteranopia (green-blind)
#023D7D
Tritanopia (blue-blind)
#0E4955
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #35397e;
/* rgb */ color: rgb(53, 57, 126);
/* oklch */ color: oklch(38.1% 0.115 277.0);
Tailwind
colors: {
  custom: {
    50: '#736fa4',
    500: '#35397e',
    950: '#000000',
  },
}
SCSS
$custom: #35397e;
$custom-light: #736fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#35397e",
  "rgb": {
    "r": 53,
    "g": 57,
    "b": 126
  },
  "hsl": {
    "h": 236.712,
    "s": 40.782,
    "l": 35.098
  },
  "oklch": {
    "l": 0.38084,
    "c": 0.11475,
    "h": 277
  },
  "luminance": 0.05189
}

Semantic roles & 50–950 ramp

primary
#35397E
secondary
#AAA665
accent
#CA57D1
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#08070F
muted
#7B7A7F

Preview Lab

Preview with #35397E

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

Preview Lab → · Contrast checker → · Palette generator →

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