#382EC2#382EC2

#382EC2 is a dark, highly saturated blue. Relative luminance 0.067; OKLCH L 42.8% C 0.217 H 275.1°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#382EC2
RGBrgb(56, 46, 194)
HSLhsl(244, 62%, 47%)
HSVhsv(244, 76%, 76%)
CMYKcmyk(71.1%, 76.3%, 0%, 23.9%)
CIE-LABlab(31.09, 50.23, -74.81)
CIE-LCHlch(31.09, 90.11, 303.88°)
OKLaboklab(42.78% 0.0192 -0.2163)
OKLCHoklch(42.78% 0.217 275.1)
XYZxyz(12.3423, 6.6886, 51.6691)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382EC2 #B8C22E
analogous
#2E6EC2 #382EC2 #822EC2
triadic
#382EC2 #C2382E #2EC238
tetradic
#382EC2 #C22E6E #B8C22E #2EC282
square
#382EC2 #C22E6E #B8C22E #2EC282
split-complementary
#382EC2 #C2822E #6EC22E
monochromatic
#1B175F #2A2291 #382EC2 #5F56D7 #8E88E3

Accessibility & contrast

On white

8.98
#382EC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#382EC2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382EC2
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382EC2#FFFFFF#000000##FFFFFF
##382EC21.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C6
Deuteranopia (green-blind)
#0042BF
Tritanopia (blue-blind)
#005A77
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #382ec2;
/* rgb */ color: rgb(56, 46, 194);
/* oklch */ color: oklch(42.8% 0.217 275.1);
Tailwind
colors: {
  custom: {
    50: '#836ad6',
    500: '#382ec2',
    950: '#000000',
  },
}
SCSS
$custom: #382ec2;
$custom-light: #836ad6;
$custom-dark: #000000;
JSON
{
  "hex": "#382ec2",
  "rgb": {
    "r": 56,
    "g": 46,
    "b": 194
  },
  "hsl": {
    "h": 244.054,
    "s": 61.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.42775,
    "c": 0.21719,
    "h": 275.1
  },
  "luminance": 0.0669
}

Semantic roles & 50–950 ramp

primary
#382EC2
secondary
#C7CC7F
accent
#E543DA
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #382EC2

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

Preview Lab → · Contrast checker → · Palette generator →

#382EC2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva