#382BAF#382BAF

#382BAF is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.4% C 0.197 H 277.3°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#382BAF
RGBrgb(56, 43, 175)
HSLhsl(246, 61%, 43%)
HSVhsv(246, 75%, 69%)
CMYKcmyk(68%, 75.4%, 0%, 31.4%)
CIE-LABlab(28.55, 45.83, -67.74)
CIE-LCHlch(28.55, 81.79, 304.08°)
OKLaboklab(40.39% 0.0249 -0.1957)
OKLCHoklch(40.39% 0.197 277.3)
XYZxyz(10.2301, 5.6628, 41.1030)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382BAF #A2AF2B
analogous
#2B60AF #382BAF #7A2BAF
triadic
#382BAF #AF382B #2BAF38
tetradic
#382BAF #AF2B60 #A2AF2B #2BAF7A
square
#382BAF #AF2B60 #A2AF2B #2BAF7A
split-complementary
#382BAF #AF7A2B #60AF2B
monochromatic
#19134D #281F7E #382BAF #5346D1 #8177DE

Accessibility & contrast

On white

9.85
#382BAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#382BAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382BAF
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382BAF#FFFFFF#000000##FFFFFF
##382BAF1.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B3
Deuteranopia (green-blind)
#003EAD
Tritanopia (blue-blind)
#00516B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #382baf;
/* rgb */ color: rgb(56, 43, 175);
/* oklch */ color: oklch(40.4% 0.197 277.3);
Tailwind
colors: {
  custom: {
    50: '#8067c8',
    500: '#382baf',
    950: '#000000',
  },
}
SCSS
$custom: #382baf;
$custom-light: #8067c8;
$custom-dark: #000000;
JSON
{
  "hex": "#382baf",
  "rgb": {
    "r": 56,
    "g": 43,
    "b": 175
  },
  "hsl": {
    "h": 245.909,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.40395,
    "c": 0.1973,
    "h": 277.3
  },
  "luminance": 0.05664
}

Semantic roles & 50–950 ramp

primary
#382BAF
secondary
#BDC570
accent
#E444D4
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #382BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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