#364CA2#364CA2

#364CA2 is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.8% C 0.141 H 269.2°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#364CA2
RGBrgb(54, 76, 162)
HSLhsl(228, 50%, 42%)
HSVhsv(228, 67%, 64%)
CMYKcmyk(66.7%, 53.1%, 0%, 36.5%)
CIE-LABlab(35.12, 20.50, -49.21)
CIE-LCHlch(35.12, 53.31, 292.61°)
OKLaboklab(44.84% -0.002 -0.1413)
OKLCHoklch(44.84% 0.141 269.2)
XYZxyz(10.6251, 8.5608, 35.2679)
Luminance0.0856 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#364CA2 #A28C36
analogous
#3682A2 #364CA2 #5636A2
triadic
#364CA2 #A2364C #4CA236
tetradic
#364CA2 #A23682 #A28C36 #36A256
square
#364CA2 #A23682 #A28C36 #36A256
split-complementary
#364CA2 #A25636 #82A236
monochromatic
#172146 #273674 #364CA2 #5068C5 #7E90D4

Accessibility & contrast

On white

7.74
#364CA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#364CA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #364CA2
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##364CA2#FFFFFF#000000##FFFFFF
##364CA21.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1558A5
Deuteranopia (green-blind)
#004EA0
Tritanopia (blue-blind)
#00606F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #364ca2;
/* rgb */ color: rgb(54, 76, 162);
/* oklch */ color: oklch(44.8% 0.141 269.2);
Tailwind
colors: {
  custom: {
    50: '#797dbe',
    500: '#364ca2',
    950: '#000000',
  },
}
SCSS
$custom: #364ca2;
$custom-light: #797dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#364ca2",
  "rgb": {
    "r": 54,
    "g": 76,
    "b": 162
  },
  "hsl": {
    "h": 227.778,
    "s": 50,
    "l": 42.353
  },
  "oklch": {
    "l": 0.44836,
    "c": 0.14129,
    "h": 269.2
  },
  "luminance": 0.08562
}

Semantic roles & 50–950 ramp

primary
#364CA2
secondary
#BDAF77
accent
#BD4EDA
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #364CA2

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

Preview Lab → · Contrast checker → · Palette generator →

#364CA2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva