#35397D#35397D

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

Color values

HEX#35397D
RGBrgb(53, 57, 125)
HSLhsl(237, 40%, 35%)
HSVhsv(237, 58%, 49%)
CMYKcmyk(57.6%, 54.4%, 0%, 51%)
CIE-LABlab(27.20, 19.66, -39.30)
CIE-LCHlch(27.20, 43.94, 296.57°)
OKLaboklab(38.01% 0.0139 -0.1124)
OKLCHoklch(38.01% 0.113 277)
XYZxyz(6.6318, 5.1634, 20.0452)
Luminance0.0516 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35397D #7D7935
analogous
#355D7D #35397D #55357D
triadic
#35397D #7D3539 #397D35
tetradic
#35397D #7D355D #7D7935 #357D55
square
#35397D #7D355D #7D7935 #357D55
split-complementary
#35397D #7D5535 #5D7D35
monochromatic
#111227 #232552 #35397D #474DA8 #6C71C1

Accessibility & contrast

On white

10.33
#35397D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#35397D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35397D
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35397D#FFFFFF#000000##FFFFFF
##35397D1.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13437F
Deuteranopia (green-blind)
#053D7C
Tritanopia (blue-blind)
#0F4855
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #35397d;
/* rgb */ color: rgb(53, 57, 125);
/* oklch */ color: oklch(38.0% 0.113 277.0);
Tailwind
colors: {
  custom: {
    50: '#736fa3',
    500: '#35397d',
    950: '#000000',
  },
}
SCSS
$custom: #35397d;
$custom-light: #736fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#35397d",
  "rgb": {
    "r": 53,
    "g": 57,
    "b": 125
  },
  "hsl": {
    "h": 236.667,
    "s": 40.449,
    "l": 34.902
  },
  "oklch": {
    "l": 0.38008,
    "c": 0.11324,
    "h": 277
  },
  "luminance": 0.05164
}

Semantic roles & 50–950 ramp

primary
#35397D
secondary
#A9A565
accent
#CA57D0
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#08070F
muted
#7B7A7F

Preview Lab

Preview with #35397D

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

Preview Lab → · Contrast checker → · Palette generator →

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