#382EAF#382EAF

#382EAF is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.8% C 0.194 H 276.9°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#382EAF
RGBrgb(56, 46, 175)
HSLhsl(245, 58%, 43%)
HSVhsv(245, 74%, 69%)
CMYKcmyk(68%, 73.7%, 0%, 31.4%)
CIE-LABlab(29.13, 44.18, -66.78)
CIE-LCHlch(29.13, 80.07, 303.49°)
OKLaboklab(40.81% 0.0232 -0.1929)
OKLCHoklch(40.81% 0.194 276.9)
XYZxyz(10.3432, 5.8890, 41.1407)
Luminance0.0589 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382EAF #A5AF2E
analogous
#2E64AF #382EAF #782EAF
triadic
#382EAF #AF382E #2EAF38
tetradic
#382EAF #AF2E64 #A5AF2E #2EAF78
square
#382EAF #AF2E64 #A5AF2E #2EAF78
split-complementary
#382EAF #AF782E #64AF2E
monochromatic
#19154E #28217F #382EAF #554BD0 #837BDC

Accessibility & contrast

On white

9.64
#382EAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#382EAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382EAF
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382EAF#FFFFFF#000000##FFFFFF
##382EAF1.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #382eaf;
/* rgb */ color: rgb(56, 46, 175);
/* oklch */ color: oklch(40.8% 0.194 276.9);
Tailwind
colors: {
  custom: {
    50: '#7f69c8',
    500: '#382eaf',
    950: '#000000',
  },
}
SCSS
$custom: #382eaf;
$custom-light: #7f69c8;
$custom-dark: #000000;
JSON
{
  "hex": "#382eaf",
  "rgb": {
    "r": 56,
    "g": 46,
    "b": 175
  },
  "hsl": {
    "h": 244.651,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.4081,
    "c": 0.19432,
    "h": 276.9
  },
  "luminance": 0.0589
}

Semantic roles & 50–950 ramp

primary
#382EAF
secondary
#BEC574
accent
#E246D6
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #382EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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