#3638C9#3638C9

#3638C9 is a dark, highly saturated blue. Relative luminance 0.078; OKLCH L 44.8% C 0.216 H 272.8°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#3638C9
RGBrgb(54, 56, 201)
HSLhsl(239, 58%, 50%)
HSVhsv(239, 73%, 79%)
CMYKcmyk(73.1%, 72.1%, 0%, 21.2%)
CIE-LABlab(33.62, 46.82, -74.73)
CIE-LCHlch(33.62, 88.19, 302.07°)
OKLaboklab(44.75% 0.0106 -0.2162)
OKLCHoklch(44.75% 0.216 272.8)
XYZxyz(13.4746, 7.8283, 56.0479)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3638C9 #C9C736
analogous
#3681C9 #3638C9 #7E36C9
triadic
#3638C9 #C93638 #38C936
tetradic
#3638C9 #C93681 #C9C736 #36C97E
square
#3638C9 #C93681 #C9C736 #36C97E
split-complementary
#3638C9 #C97E36 #81C936
monochromatic
#1C1D69 #292B99 #3638C9 #6668D6 #9698E3

Accessibility & contrast

On white

8.18
#3638C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#3638C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3638C9
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3638C9#FFFFFF#000000##FFFFFF
##3638C91.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056CD
Deuteranopia (green-blind)
#0048C6
Tritanopia (blue-blind)
#00617D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3638c9;
/* rgb */ color: rgb(54, 56, 201);
/* oklch */ color: oklch(44.8% 0.216 272.8);
Tailwind
colors: {
  custom: {
    50: '#8370db',
    500: '#3638c9',
    950: '#000000',
  },
}
SCSS
$custom: #3638c9;
$custom-light: #8370db;
$custom-dark: #000000;
JSON
{
  "hex": "#3638c9",
  "rgb": {
    "r": 54,
    "g": 56,
    "b": 201
  },
  "hsl": {
    "h": 239.184,
    "s": 57.647,
    "l": 50
  },
  "oklch": {
    "l": 0.44752,
    "c": 0.21648,
    "h": 272.8
  },
  "luminance": 0.0783
}

Semantic roles & 50–950 ramp

primary
#3638C9
secondary
#CECD8C
accent
#DF47E1
background
#F8F6FD
surface
#F0ECFB
border
#CBC7D4
text
#0D0715
muted
#7D7A83

Preview Lab

Preview with #3638C9

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

Preview Lab → · Contrast checker → · Palette generator →

#3638C9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva