#366DC7#366DC7

#366DC7 is a mid, vivid blue. Relative luminance 0.158; OKLCH L 54.5% C 0.152 H 259.8°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#366DC7
RGBrgb(54, 109, 199)
HSLhsl(217, 57%, 50%)
HSVhsv(217, 73%, 78%)
CMYKcmyk(72.9%, 45.2%, 0%, 22%)
CIE-LABlab(46.77, 12.78, -52.18)
CIE-LCHlch(46.77, 53.72, 283.76°)
OKLaboklab(54.51% -0.027 -0.1495)
OKLCHoklch(54.51% 0.152 259.8)
XYZxyz(17.2950, 15.8432, 56.1683)
Luminance0.1585 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#366DC7 #C79036
analogous
#36B6C7 #366DC7 #4736C7
triadic
#366DC7 #C7366D #6DC736
tetradic
#366DC7 #C736B6 #C79036 #36C747
square
#366DC7 #C736B6 #C79036 #36C747
split-complementary
#366DC7 #C74736 #B6C736
monochromatic
#1C3867 #295397 #366DC7 #6590D5 #95B2E2

Accessibility & contrast

On white

5.04
#366DC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#366DC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #366DC7
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##366DC7#FFFFFF#000000##FFFFFF
##366DC71.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F76CA
Deuteranopia (green-blind)
#2169C5
Tritanopia (blue-blind)
#008290
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #366dc7;
/* rgb */ color: rgb(54, 109, 199);
/* oklch */ color: oklch(54.5% 0.152 259.8);
Tailwind
colors: {
  custom: {
    50: '#7f96d8',
    500: '#366dc7',
    950: '#000000',
  },
}
SCSS
$custom: #366dc7;
$custom-light: #7f96d8;
$custom-dark: #000000;
JSON
{
  "hex": "#366dc7",
  "rgb": {
    "r": 54,
    "g": 109,
    "b": 199
  },
  "hsl": {
    "h": 217.241,
    "s": 57.312,
    "l": 49.608
  },
  "oklch": {
    "l": 0.54508,
    "c": 0.1519,
    "h": 259.8
  },
  "luminance": 0.15845
}

Semantic roles & 50–950 ramp

primary
#366DC7
secondary
#CEB48B
accent
#A647E1
background
#F8F9FD
surface
#F0F1FA
border
#CBCBD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #366DC7

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

Preview Lab → · Contrast checker → · Palette generator →

#366DC7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva