#383AAF#383AAF

#383AAF is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.7% C 0.181 H 274.8°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#383AAF
RGBrgb(56, 58, 175)
HSLhsl(239, 52%, 45%)
HSVhsv(239, 68%, 69%)
CMYKcmyk(68%, 66.9%, 0%, 31.4%)
CIE-LABlab(31.72, 37.09, -62.53)
CIE-LCHlch(31.72, 72.70, 300.67°)
OKLaboklab(42.67% 0.0152 -0.1805)
OKLCHoklch(42.67% 0.181 274.8)
XYZxyz(10.8792, 6.9610, 41.3194)
Luminance0.0696 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383AAF #AFAD38
analogous
#3875AF #383AAF #7238AF
triadic
#383AAF #AF383A #3AAF38
tetradic
#383AAF #AF3875 #AFAD38 #38AF72
square
#383AAF #AF3875 #AFAD38 #38AF72
split-complementary
#383AAF #AF7238 #75AF38
monochromatic
#1A1B52 #292B81 #383AAF #5A5CCA #888AD9

Accessibility & contrast

On white

8.78
#383AAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#383AAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383AAF
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383AAF#FFFFFF#000000##FFFFFF
##383AAF1.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B3
Deuteranopia (green-blind)
#0045AD
Tritanopia (blue-blind)
#00596F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #383aaf;
/* rgb */ color: rgb(56, 58, 175);
/* oklch */ color: oklch(42.7% 0.181 274.8);
Tailwind
colors: {
  custom: {
    50: '#7e71c8',
    500: '#383aaf',
    950: '#000000',
  },
}
SCSS
$custom: #383aaf;
$custom-light: #7e71c8;
$custom-dark: #000000;
JSON
{
  "hex": "#383aaf",
  "rgb": {
    "r": 56,
    "g": 58,
    "b": 175
  },
  "hsl": {
    "h": 238.992,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.42668,
    "c": 0.18116,
    "h": 274.8
  },
  "luminance": 0.06962
}

Semantic roles & 50–950 ramp

primary
#383AAF
secondary
#C3C280
accent
#D94DDB
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #383AAF

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

Preview Lab → · Contrast checker → · Palette generator →

#383AAF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva