#364FA2#364FA2

#364FA2 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.5% C 0.137 H 268.0°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#364FA2
RGBrgb(54, 79, 162)
HSLhsl(226, 50%, 42%)
HSVhsv(226, 67%, 64%)
CMYKcmyk(66.7%, 51.2%, 0%, 36.5%)
CIE-LABlab(35.95, 18.51, -47.87)
CIE-LCHlch(35.95, 51.32, 291.14°)
OKLaboklab(45.46% -0.0049 -0.1373)
OKLCHoklch(45.46% 0.137 268)
XYZxyz(10.8367, 8.9839, 35.3384)
Luminance0.0898 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#364FA2 #A28936
analogous
#3685A2 #364FA2 #5336A2
triadic
#364FA2 #A2364F #4FA236
tetradic
#364FA2 #A23685 #A28936 #36A253
square
#364FA2 #A23685 #A28936 #36A253
split-complementary
#364FA2 #A25336 #85A236
monochromatic
#172246 #273974 #364FA2 #506BC5 #7E92D4

Accessibility & contrast

On white

7.51
#364FA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#364FA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #364FA2
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##364FA2#FFFFFF#000000##FFFFFF
##364FA21.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5AA5
Deuteranopia (green-blind)
#0050A0
Tritanopia (blue-blind)
#006271
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #364fa2;
/* rgb */ color: rgb(54, 79, 162);
/* oklch */ color: oklch(45.5% 0.137 268.0);
Tailwind
colors: {
  custom: {
    50: '#797fbe',
    500: '#364fa2',
    950: '#000000',
  },
}
SCSS
$custom: #364fa2;
$custom-light: #797fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#364fa2",
  "rgb": {
    "r": 54,
    "g": 79,
    "b": 162
  },
  "hsl": {
    "h": 226.111,
    "s": 50,
    "l": 42.353
  },
  "oklch": {
    "l": 0.45463,
    "c": 0.13739,
    "h": 268
  },
  "luminance": 0.08985
}

Semantic roles & 50–950 ramp

primary
#364FA2
secondary
#BDAD77
accent
#B94EDA
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #364FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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