#395098#395098

#395098 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.1% C 0.121 H 268.0°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#395098
RGBrgb(57, 80, 152)
HSLhsl(225, 45%, 41%)
HSVhsv(225, 63%, 60%)
CMYKcmyk(62.5%, 47.4%, 0%, 40.4%)
CIE-LABlab(35.74, 14.76, -42.19)
CIE-LCHlch(35.74, 44.70, 289.28°)
OKLaboklab(45.13% -0.0042 -0.1205)
OKLCHoklch(45.13% 0.121 268)
XYZxyz(10.2216, 8.8733, 30.8737)
Luminance0.0887 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#395098 #988139
analogous
#397F98 #395098 #513998
triadic
#395098 #983950 #509839
tetradic
#395098 #98397F #988139 #399851
square
#395098 #98397F #988139 #399851
split-complementary
#395098 #985139 #7F9839
monochromatic
#18213F #28396B #395098 #516BBE #7D91CE

Accessibility & contrast

On white

7.57
#395098 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #395098
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##395098#FFFFFF#000000##FFFFFF
##3950981.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #395098;
/* rgb */ color: rgb(57, 80, 152);
/* oklch */ color: oklch(45.1% 0.121 268.0);
Tailwind
colors: {
  custom: {
    50: '#7980b7',
    500: '#395098',
    950: '#000000',
  },
}
SCSS
$custom: #395098;
$custom-light: #7980b7;
$custom-dark: #000000;
JSON
{
  "hex": "#395098",
  "rgb": {
    "r": 57,
    "g": 80,
    "b": 152
  },
  "hsl": {
    "h": 225.474,
    "s": 45.455,
    "l": 40.98
  },
  "oklch": {
    "l": 0.45133,
    "c": 0.12058,
    "h": 268
  },
  "luminance": 0.08874
}

Semantic roles & 50–950 ramp

primary
#395098
secondary
#B8A875
accent
#B653D5
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A11
muted
#7C7C80

Preview Lab

Preview with #395098

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

Preview Lab → · Contrast checker → · Palette generator →

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