#383CAF#383CAF

#383CAF is a dark, vivid blue. Relative luminance 0.072; OKLCH L 43.0% C 0.179 H 274.4°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#383CAF
RGBrgb(56, 60, 175)
HSLhsl(238, 52%, 45%)
HSVhsv(238, 68%, 69%)
CMYKcmyk(68%, 65.7%, 0%, 31.4%)
CIE-LABlab(32.18, 35.84, -61.76)
CIE-LCHlch(32.18, 71.41, 300.13°)
OKLaboklab(43.01% 0.0138 -0.1783)
OKLCHoklch(43.01% 0.179 274.4)
XYZxyz(10.9820, 7.1666, 41.3537)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383CAF #AFAB38
analogous
#3878AF #383CAF #6F38AF
triadic
#383CAF #AF383C #3CAF38
tetradic
#383CAF #AF3878 #AFAB38 #38AF6F
square
#383CAF #AF3878 #AFAB38 #38AF6F
split-complementary
#383CAF #AF6F38 #78AF38
monochromatic
#1A1C52 #292C81 #383CAF #5A5ECA #888BD9

Accessibility & contrast

On white

8.63
#383CAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#383CAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383CAF
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383CAF#FFFFFF#000000##FFFFFF
##383CAF1.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B3
Deuteranopia (green-blind)
#0046AD
Tritanopia (blue-blind)
#005A70
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #383caf;
/* rgb */ color: rgb(56, 60, 175);
/* oklch */ color: oklch(43.0% 0.179 274.4);
Tailwind
colors: {
  custom: {
    50: '#7e72c8',
    500: '#383caf',
    950: '#000000',
  },
}
SCSS
$custom: #383caf;
$custom-light: #7e72c8;
$custom-dark: #000000;
JSON
{
  "hex": "#383caf",
  "rgb": {
    "r": 56,
    "g": 60,
    "b": 175
  },
  "hsl": {
    "h": 237.983,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.43006,
    "c": 0.17881,
    "h": 274.4
  },
  "luminance": 0.07168
}

Semantic roles & 50–950 ramp

primary
#383CAF
secondary
#C3C180
accent
#D64DDB
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #383CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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