#364799#364799

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

Color values

HEX#364799
RGBrgb(54, 71, 153)
HSLhsl(230, 48%, 41%)
HSVhsv(230, 65%, 60%)
CMYKcmyk(64.7%, 53.6%, 0%, 40%)
CIE-LABlab(33.11, 20.53, -47.03)
CIE-LCHlch(33.11, 51.31, 293.58°)
OKLaboklab(43.11% 0.0021 -0.1349)
OKLCHoklch(43.11% 0.135 270.9)
XYZxyz(9.5224, 7.5898, 31.0940)
Luminance0.0759 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#364799 #998836
analogous
#367899 #364799 #563699
triadic
#364799 #993647 #479936
tetradic
#364799 #993678 #998836 #369956
square
#364799 #993678 #998836 #369956
split-complementary
#364799 #995636 #789936
monochromatic
#161D3F #26326C #364799 #4C60C0 #7A88D0

Accessibility & contrast

On white

8.34
#364799 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#364799 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #364799
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##364799#FFFFFF#000000##FFFFFF
##3647991.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13529C
Deuteranopia (green-blind)
#004A97
Tritanopia (blue-blind)
#005A69
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #364799;
/* rgb */ color: rgb(54, 71, 153);
/* oklch */ color: oklch(43.1% 0.135 270.9);
Tailwind
colors: {
  custom: {
    50: '#7879b8',
    500: '#364799',
    950: '#000000',
  },
}
SCSS
$custom: #364799;
$custom-light: #7879b8;
$custom-dark: #000000;
JSON
{
  "hex": "#364799",
  "rgb": {
    "r": 54,
    "g": 71,
    "b": 153
  },
  "hsl": {
    "h": 229.697,
    "s": 47.826,
    "l": 40.588
  },
  "oklch": {
    "l": 0.43115,
    "c": 0.13495,
    "h": 270.9
  },
  "luminance": 0.07591
}

Semantic roles & 50–950 ramp

primary
#364799
secondary
#B9AD72
accent
#C050D7
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0911
muted
#7C7B80

Preview Lab

Preview with #364799

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

Preview Lab → · Contrast checker → · Palette generator →

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