#35397B#35397B

#35397B is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.9% C 0.110 H 277.1°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#35397B
RGBrgb(53, 57, 123)
HSLhsl(237, 40%, 35%)
HSVhsv(237, 57%, 48%)
CMYKcmyk(56.9%, 53.7%, 0%, 51.8%)
CIE-LABlab(27.05, 18.95, -38.27)
CIE-LCHlch(27.05, 42.70, 296.34°)
OKLaboklab(37.86% 0.0137 -0.1094)
OKLCHoklch(37.86% 0.11 277.1)
XYZxyz(6.5053, 5.1128, 19.3791)
Luminance0.0511 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35397B #7B7735
analogous
#355C7B #35397B #54357B
triadic
#35397B #7B3539 #397B35
tetradic
#35397B #7B355C #7B7735 #357B54
square
#35397B #7B355C #7B7735 #357B54
split-complementary
#35397B #7B5435 #5C7B35
monochromatic
#101125 #232550 #35397B #474DA6 #6B70BF

Accessibility & contrast

On white

10.38
#35397B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#35397B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35397B
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35397B#FFFFFF#000000##FFFFFF
##35397B1.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16437D
Deuteranopia (green-blind)
#0A3D7A
Tritanopia (blue-blind)
#124854
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #35397b;
/* rgb */ color: rgb(53, 57, 123);
/* oklch */ color: oklch(37.9% 0.110 277.1);
Tailwind
colors: {
  custom: {
    50: '#736fa2',
    500: '#35397b',
    950: '#000000',
  },
}
SCSS
$custom: #35397b;
$custom-light: #736fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#35397b",
  "rgb": {
    "r": 53,
    "g": 57,
    "b": 123
  },
  "hsl": {
    "h": 236.571,
    "s": 39.773,
    "l": 34.51
  },
  "oklch": {
    "l": 0.37856,
    "c": 0.11021,
    "h": 277.1
  },
  "luminance": 0.05113
}

Semantic roles & 50–950 ramp

primary
#35397B
secondary
#A8A464
accent
#C958D0
background
#F7F6FA
surface
#EDECF3
border
#C8C7CD
text
#08070F
muted
#7B7A7F

Preview Lab

Preview with #35397B

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

Preview Lab → · Contrast checker → · Palette generator →

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