#3638CB#3638CB

#3638CB is a dark, highly saturated blue. Relative luminance 0.079; OKLCH L 45.0% C 0.219 H 272.7°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#3638CB
RGBrgb(54, 56, 203)
HSLhsl(239, 59%, 50%)
HSVhsv(239, 73%, 80%)
CMYKcmyk(73.4%, 72.4%, 0%, 20.4%)
CIE-LABlab(33.82, 47.48, -75.57)
CIE-LCHlch(33.82, 89.25, 302.14°)
OKLaboklab(44.95% 0.0103 -0.2186)
OKLCHoklch(44.95% 0.219 272.7)
XYZxyz(13.7114, 7.9230, 57.2950)
Luminance0.0792 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3638CB #CBC936
analogous
#3682CB #3638CB #7F36CB
triadic
#3638CB #CB3638 #38CB36
tetradic
#3638CB #CB3682 #CBC936 #36CB7F
square
#3638CB #CB3682 #CBC936 #36CB7F
split-complementary
#3638CB #CB7F36 #82CB36
monochromatic
#1C1D6B #282A9C #3638CB #6768D8 #9798E4

Accessibility & contrast

On white

8.12
#3638CB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#3638CB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3638CB
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3638CB#FFFFFF#000000##FFFFFF
##3638CB1.008.122.588.12
#FFFFFF8.121.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057CF
Deuteranopia (green-blind)
#0048C8
Tritanopia (blue-blind)
#00627E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3638cb;
/* rgb */ color: rgb(54, 56, 203);
/* oklch */ color: oklch(45.0% 0.219 272.7);
Tailwind
colors: {
  custom: {
    50: '#8470dc',
    500: '#3638cb',
    950: '#000000',
  },
}
SCSS
$custom: #3638cb;
$custom-light: #8470dc;
$custom-dark: #000000;
JSON
{
  "hex": "#3638cb",
  "rgb": {
    "r": 54,
    "g": 56,
    "b": 203
  },
  "hsl": {
    "h": 239.195,
    "s": 58.893,
    "l": 50.392
  },
  "oklch": {
    "l": 0.44954,
    "c": 0.21889,
    "h": 272.7
  },
  "luminance": 0.07924
}

Semantic roles & 50–950 ramp

primary
#3638CB
secondary
#D0CF8D
accent
#E046E2
background
#F8F6FD
surface
#F0ECFB
border
#CBC7D4
text
#0D0715
muted
#7D7A83

Preview Lab

Preview with #3638CB

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

Preview Lab → · Contrast checker → · Palette generator →

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