#395095#395095

#395095 is a dark, moderate blue. Relative luminance 0.088; OKLCH L 44.9% C 0.116 H 267.7°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#395095
RGBrgb(57, 80, 149)
HSLhsl(225, 45%, 40%)
HSVhsv(225, 62%, 58%)
CMYKcmyk(61.7%, 46.3%, 0%, 41.6%)
CIE-LABlab(35.55, 13.68, -40.68)
CIE-LCHlch(35.55, 42.91, 288.59°)
OKLaboklab(44.93% -0.0047 -0.1161)
OKLCHoklch(44.93% 0.116 267.7)
XYZxyz(9.9790, 8.7763, 29.5961)
Luminance0.0878 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#395095 #957E39
analogous
#397E95 #395095 #503995
triadic
#395095 #953950 #509539
tetradic
#395095 #95397E #957E39 #399550
square
#395095 #95397E #957E39 #399550
split-complementary
#395095 #955039 #7E9539
monochromatic
#17203C #283869 #395095 #4F6ABC #7C90CD

Accessibility & contrast

On white

7.62
#395095 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#395095 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #395095
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##395095#FFFFFF#000000##FFFFFF
##3950951.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305898
Deuteranopia (green-blind)
#215094
Tritanopia (blue-blind)
#00606B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #395095;
/* rgb */ color: rgb(57, 80, 149);
/* oklch */ color: oklch(44.9% 0.116 267.7);
Tailwind
colors: {
  custom: {
    50: '#7880b4',
    500: '#395095',
    950: '#000000',
  },
}
SCSS
$custom: #395095;
$custom-light: #7880b4;
$custom-dark: #000000;
JSON
{
  "hex": "#395095",
  "rgb": {
    "r": 57,
    "g": 80,
    "b": 149
  },
  "hsl": {
    "h": 225,
    "s": 44.66,
    "l": 40.392
  },
  "oklch": {
    "l": 0.44927,
    "c": 0.11615,
    "h": 267.7
  },
  "luminance": 0.08777
}

Semantic roles & 50–950 ramp

primary
#395095
secondary
#B6A574
accent
#B453D4
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #395095

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

Preview Lab → · Contrast checker → · Palette generator →

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