#364798#364798

#364798 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.0% C 0.134 H 270.9°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#364798
RGBrgb(54, 71, 152)
HSLhsl(230, 48%, 40%)
HSVhsv(230, 64%, 60%)
CMYKcmyk(64.5%, 53.3%, 0%, 40.4%)
CIE-LABlab(33.04, 20.16, -46.53)
CIE-LCHlch(33.04, 50.71, 293.43°)
OKLaboklab(43.04% 0.002 -0.1335)
OKLCHoklch(43.04% 0.134 270.9)
XYZxyz(9.4402, 7.5569, 30.6608)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#364798 #988736
analogous
#367898 #364798 #563698
triadic
#364798 #983647 #479836
tetradic
#364798 #983678 #988736 #369856
square
#364798 #983678 #988736 #369856
split-complementary
#364798 #985636 #789836
monochromatic
#161D3E #26326B #364798 #4C60BF #7988CF

Accessibility & contrast

On white

8.36
#364798 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#364798 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #364798
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##364798#FFFFFF#000000##FFFFFF
##3647981.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15529B
Deuteranopia (green-blind)
#004A96
Tritanopia (blue-blind)
#005A68
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #364798;
/* rgb */ color: rgb(54, 71, 152);
/* oklch */ color: oklch(43.0% 0.134 270.9);
Tailwind
colors: {
  custom: {
    50: '#7879b7',
    500: '#364798',
    950: '#000000',
  },
}
SCSS
$custom: #364798;
$custom-light: #7879b7;
$custom-dark: #000000;
JSON
{
  "hex": "#364798",
  "rgb": {
    "r": 54,
    "g": 71,
    "b": 152
  },
  "hsl": {
    "h": 229.592,
    "s": 47.573,
    "l": 40.392
  },
  "oklch": {
    "l": 0.43039,
    "c": 0.1335,
    "h": 270.9
  },
  "luminance": 0.07558
}

Semantic roles & 50–950 ramp

primary
#364798
secondary
#B8AC72
accent
#C051D7
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0911
muted
#7C7B80

Preview Lab

Preview with #364798

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

Preview Lab → · Contrast checker → · Palette generator →

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