#365797#365797

#365797 is a mid, moderate blue. Relative luminance 0.098; OKLCH L 46.5% C 0.111 H 262.3°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#365797
RGBrgb(54, 87, 151)
HSLhsl(220, 47%, 40%)
HSVhsv(220, 64%, 59%)
CMYKcmyk(64.2%, 42.4%, 0%, 40.8%)
CIE-LABlab(37.54, 9.23, -38.71)
CIE-LCHlch(37.54, 39.80, 283.41°)
OKLaboklab(46.46% -0.0148 -0.1103)
OKLCHoklch(46.46% 0.111 262.3)
XYZxyz(10.5135, 9.8341, 30.6163)
Luminance0.0984 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#365797 #977636
analogous
#368797 #365797 #463697
triadic
#365797 #973657 #579736
tetradic
#365797 #973687 #977636 #369746
square
#365797 #973687 #977636 #369746
split-complementary
#365797 #974636 #879736
monochromatic
#16233D #263D6A #365797 #4B73BF #7896CF

Accessibility & contrast

On white

7.08
#365797 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#365797 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #365797
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##365797#FFFFFF#000000##FFFFFF
##3657971.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5D99
Deuteranopia (green-blind)
#2C5496
Tritanopia (blue-blind)
#00666F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #365797;
/* rgb */ color: rgb(54, 87, 151);
/* oklch */ color: oklch(46.5% 0.111 262.3);
Tailwind
colors: {
  custom: {
    50: '#7786b6',
    500: '#365797',
    950: '#000000',
  },
}
SCSS
$custom: #365797;
$custom-light: #7786b6;
$custom-dark: #000000;
JSON
{
  "hex": "#365797",
  "rgb": {
    "r": 54,
    "g": 87,
    "b": 151
  },
  "hsl": {
    "h": 219.588,
    "s": 47.317,
    "l": 40.196
  },
  "oklch": {
    "l": 0.46455,
    "c": 0.11125,
    "h": 262.3
  },
  "luminance": 0.09835
}

Semantic roles & 50–950 ramp

primary
#365797
secondary
#B8A071
accent
#A951D7
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #365797

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

Preview Lab → · Contrast checker → · Palette generator →

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