#366DC5#366DC5

#366DC5 is a mid, vivid blue. Relative luminance 0.158; OKLCH L 54.4% C 0.149 H 259.4°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#366DC5
RGBrgb(54, 109, 197)
HSLhsl(217, 57%, 49%)
HSVhsv(217, 73%, 77%)
CMYKcmyk(72.6%, 44.7%, 0%, 22.7%)
CIE-LABlab(46.65, 12.04, -51.23)
CIE-LCHlch(46.65, 52.62, 283.23°)
OKLaboklab(54.37% -0.0273 -0.1467)
OKLCHoklch(54.37% 0.149 259.4)
XYZxyz(17.0644, 15.7509, 54.9534)
Luminance0.1575 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#366DC5 #C58E36
analogous
#36B5C5 #366DC5 #4736C5
triadic
#366DC5 #C5366D #6DC536
tetradic
#366DC5 #C536B5 #C58E36 #36C547
square
#366DC5 #C536B5 #C58E36 #36C547
split-complementary
#366DC5 #C54736 #B5C536
monochromatic
#1C3865 #295295 #366DC5 #648FD4 #94B2E2

Accessibility & contrast

On white

5.06
#366DC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#366DC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #366DC5
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##366DC5#FFFFFF#000000##FFFFFF
##366DC51.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4176C8
Deuteranopia (green-blind)
#2468C3
Tritanopia (blue-blind)
#00828F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #366dc5;
/* rgb */ color: rgb(54, 109, 197);
/* oklch */ color: oklch(54.4% 0.149 259.4);
Tailwind
colors: {
  custom: {
    50: '#7f96d7',
    500: '#366dc5',
    950: '#000000',
  },
}
SCSS
$custom: #366dc5;
$custom-light: #7f96d7;
$custom-dark: #000000;
JSON
{
  "hex": "#366dc5",
  "rgb": {
    "r": 54,
    "g": 109,
    "b": 197
  },
  "hsl": {
    "h": 216.923,
    "s": 56.972,
    "l": 49.216
  },
  "oklch": {
    "l": 0.54375,
    "c": 0.1492,
    "h": 259.4
  },
  "luminance": 0.15753
}

Semantic roles & 50–950 ramp

primary
#366DC5
secondary
#CDB38A
accent
#A648E0
background
#F8F9FD
surface
#F0F1FA
border
#CBCBD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #366DC5

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

Preview Lab → · Contrast checker → · Palette generator →

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