#364EA2#364EA2

#364EA2 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.3% C 0.139 H 268.4°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#364EA2
RGBrgb(54, 78, 162)
HSLhsl(227, 50%, 42%)
HSVhsv(227, 67%, 64%)
CMYKcmyk(66.7%, 51.9%, 0%, 36.5%)
CIE-LABlab(35.68, 19.17, -48.32)
CIE-LCHlch(35.68, 51.98, 291.65°)
OKLaboklab(45.25% -0.0039 -0.1386)
OKLCHoklch(45.25% 0.139 268.4)
XYZxyz(10.7651, 8.8407, 35.3145)
Luminance0.0884 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#364EA2 #A28A36
analogous
#3684A2 #364EA2 #5436A2
triadic
#364EA2 #A2364E #4EA236
tetradic
#364EA2 #A23684 #A28A36 #36A254
square
#364EA2 #A23684 #A28A36 #36A254
split-complementary
#364EA2 #A25436 #84A236
monochromatic
#172246 #273874 #364EA2 #506AC5 #7E91D4

Accessibility & contrast

On white

7.59
#364EA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#364EA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #364EA2
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##364EA2#FFFFFF#000000##FFFFFF
##364EA21.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C59A5
Deuteranopia (green-blind)
#004FA0
Tritanopia (blue-blind)
#006270
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #364ea2;
/* rgb */ color: rgb(54, 78, 162);
/* oklch */ color: oklch(45.3% 0.139 268.4);
Tailwind
colors: {
  custom: {
    50: '#797fbe',
    500: '#364ea2',
    950: '#000000',
  },
}
SCSS
$custom: #364ea2;
$custom-light: #797fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#364ea2",
  "rgb": {
    "r": 54,
    "g": 78,
    "b": 162
  },
  "hsl": {
    "h": 226.667,
    "s": 50,
    "l": 42.353
  },
  "oklch": {
    "l": 0.45253,
    "c": 0.13868,
    "h": 268.4
  },
  "luminance": 0.08842
}

Semantic roles & 50–950 ramp

primary
#364EA2
secondary
#BDAE77
accent
#BB4EDA
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #364EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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