#35397F#35397F

#35397F is a dark, moderate blue. Relative luminance 0.052; OKLCH L 38.2% C 0.116 H 276.9°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#35397F
RGBrgb(53, 57, 127)
HSLhsl(237, 41%, 35%)
HSVhsv(237, 58%, 50%)
CMYKcmyk(58.3%, 55.1%, 0%, 50.2%)
CIE-LABlab(27.34, 20.36, -40.32)
CIE-LCHlch(27.34, 45.18, 296.79°)
OKLaboklab(38.16% 0.014 -0.1154)
OKLCHoklch(38.16% 0.116 276.9)
XYZxyz(6.7609, 5.2150, 20.7249)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35397F #7F7B35
analogous
#355E7F #35397F #56357F
triadic
#35397F #7F3539 #397F35
tetradic
#35397F #7F355E #7F7B35 #357F56
square
#35397F #7F355E #7F7B35 #357F56
split-complementary
#35397F #7F5635 #5E7F35
monochromatic
#111229 #232654 #35397F #474CAA #6D71C2

Accessibility & contrast

On white

10.28
#35397F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #35397F
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35397F#FFFFFF#000000##FFFFFF
##35397F1.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104481
Deuteranopia (green-blind)
#003E7E
Tritanopia (blue-blind)
#0C4956
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #35397f;
/* rgb */ color: rgb(53, 57, 127);
/* oklch */ color: oklch(38.2% 0.116 276.9);
Tailwind
colors: {
  custom: {
    50: '#736fa5',
    500: '#35397f',
    950: '#000000',
  },
}
SCSS
$custom: #35397f;
$custom-light: #736fa5;
$custom-dark: #000000;
JSON
{
  "hex": "#35397f",
  "rgb": {
    "r": 53,
    "g": 57,
    "b": 127
  },
  "hsl": {
    "h": 236.757,
    "s": 41.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.38161,
    "c": 0.11624,
    "h": 276.9
  },
  "luminance": 0.05215
}

Semantic roles & 50–950 ramp

primary
#35397F
secondary
#AAA666
accent
#CA57D1
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#09070F
muted
#7B7A7F

Preview Lab

Preview with #35397F

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

Preview Lab → · Contrast checker → · Palette generator →

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