#395097#395097

#395097 is a mid, moderate blue. Relative luminance 0.088; OKLCH L 45.1% C 0.119 H 267.9°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#395097
RGBrgb(57, 80, 151)
HSLhsl(225, 45%, 41%)
HSVhsv(225, 62%, 59%)
CMYKcmyk(62.3%, 47%, 0%, 40.8%)
CIE-LABlab(35.68, 14.40, -41.68)
CIE-LCHlch(35.68, 44.10, 289.06°)
OKLaboklab(45.06% -0.0043 -0.119)
OKLCHoklch(45.06% 0.119 267.9)
XYZxyz(10.1400, 8.8407, 30.4442)
Luminance0.0884 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#395097 #978039
analogous
#397F97 #395097 #513997
triadic
#395097 #973950 #509739
tetradic
#395097 #97397F #978039 #399751
square
#395097 #97397F #978039 #399751
split-complementary
#395097 #975139 #7F9739
monochromatic
#17213E #28386B #395097 #506BBD #7D90CE

Accessibility & contrast

On white

7.59
#395097 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#395097 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #395097
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##395097#FFFFFF#000000##FFFFFF
##3950971.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E589A
Deuteranopia (green-blind)
#1F5096
Tritanopia (blue-blind)
#00606C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #395097;
/* rgb */ color: rgb(57, 80, 151);
/* oklch */ color: oklch(45.1% 0.119 267.9);
Tailwind
colors: {
  custom: {
    50: '#7880b6',
    500: '#395097',
    950: '#000000',
  },
}
SCSS
$custom: #395097;
$custom-light: #7880b6;
$custom-dark: #000000;
JSON
{
  "hex": "#395097",
  "rgb": {
    "r": 57,
    "g": 80,
    "b": 151
  },
  "hsl": {
    "h": 225.319,
    "s": 45.192,
    "l": 40.784
  },
  "oklch": {
    "l": 0.45064,
    "c": 0.11911,
    "h": 267.9
  },
  "luminance": 0.08842
}

Semantic roles & 50–950 ramp

primary
#395097
secondary
#B7A775
accent
#B553D5
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A11
muted
#7C7C80

Preview Lab

Preview with #395097

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

Preview Lab → · Contrast checker → · Palette generator →

#395097 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva