#382FAF#382FAF

#382FAF is a dark, vivid blue. Relative luminance 0.060; OKLCH L 41.0% C 0.193 H 276.7°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#382FAF
RGBrgb(56, 47, 175)
HSLhsl(244, 58%, 44%)
HSVhsv(244, 73%, 69%)
CMYKcmyk(68%, 73.1%, 0%, 31.4%)
CIE-LABlab(29.33, 43.62, -66.45)
CIE-LCHlch(29.33, 79.49, 303.28°)
OKLaboklab(40.95% 0.0226 -0.192)
OKLCHoklch(40.95% 0.193 276.7)
XYZxyz(10.3827, 5.9680, 41.1539)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382FAF #A6AF2F
analogous
#2F66AF #382FAF #782FAF
triadic
#382FAF #AF382F #2FAF38
tetradic
#382FAF #AF2F66 #A6AF2F #2FAF78
square
#382FAF #AF2F66 #A6AF2F #2FAF78
split-complementary
#382FAF #AF782F #66AF2F
monochromatic
#19154F #29227F #382FAF #554CCF #837CDC

Accessibility & contrast

On white

9.57
#382FAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#382FAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382FAF
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382FAF#FFFFFF#000000##FFFFFF
##382FAF1.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB3
Deuteranopia (green-blind)
#0040AD
Tritanopia (blue-blind)
#00536C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #382faf;
/* rgb */ color: rgb(56, 47, 175);
/* oklch */ color: oklch(41.0% 0.193 276.7);
Tailwind
colors: {
  custom: {
    50: '#7f69c8',
    500: '#382faf',
    950: '#000000',
  },
}
SCSS
$custom: #382faf;
$custom-light: #7f69c8;
$custom-dark: #000000;
JSON
{
  "hex": "#382faf",
  "rgb": {
    "r": 56,
    "g": 47,
    "b": 175
  },
  "hsl": {
    "h": 244.219,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.40952,
    "c": 0.19329,
    "h": 276.7
  },
  "luminance": 0.05969
}

Semantic roles & 50–950 ramp

primary
#382FAF
secondary
#BFC475
accent
#E147D6
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #382FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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