#364796#364796

#364796 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.9% C 0.131 H 270.8°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#364796
RGBrgb(54, 71, 150)
HSLhsl(229, 47%, 40%)
HSVhsv(229, 64%, 59%)
CMYKcmyk(64%, 52.7%, 0%, 41.2%)
CIE-LABlab(32.90, 19.43, -45.55)
CIE-LCHlch(32.90, 49.52, 293.11°)
OKLaboklab(42.89% 0.0019 -0.1306)
OKLCHoklch(42.89% 0.131 270.8)
XYZxyz(9.2777, 7.4920, 29.8054)
Luminance0.0749 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#364796 #968536
analogous
#367796 #364796 #553696
triadic
#364796 #963647 #479636
tetradic
#364796 #963677 #968536 #369655
square
#364796 #963677 #968536 #369655
split-complementary
#364796 #965536 #779636
monochromatic
#161C3C #263269 #364796 #4B5FBE #7887CE

Accessibility & contrast

On white

8.40
#364796 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#364796 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #364796
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##364796#FFFFFF#000000##FFFFFF
##3647961.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#195299
Deuteranopia (green-blind)
#004994
Tritanopia (blue-blind)
#005967
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #364796;
/* rgb */ color: rgb(54, 71, 150);
/* oklch */ color: oklch(42.9% 0.131 270.8);
Tailwind
colors: {
  custom: {
    50: '#7779b5',
    500: '#364796',
    950: '#000000',
  },
}
SCSS
$custom: #364796;
$custom-light: #7779b5;
$custom-dark: #000000;
JSON
{
  "hex": "#364796",
  "rgb": {
    "r": 54,
    "g": 71,
    "b": 150
  },
  "hsl": {
    "h": 229.375,
    "s": 47.059,
    "l": 40
  },
  "oklch": {
    "l": 0.42887,
    "c": 0.13058,
    "h": 270.8
  },
  "luminance": 0.07493
}

Semantic roles & 50–950 ramp

primary
#364796
secondary
#B7AB71
accent
#BF51D7
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #364796

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

Preview Lab → · Contrast checker → · Palette generator →

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