#383BAF#383BAF

#383BAF is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.8% C 0.180 H 274.6°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#383BAF
RGBrgb(56, 59, 175)
HSLhsl(238, 52%, 45%)
HSVhsv(238, 68%, 69%)
CMYKcmyk(68%, 66.3%, 0%, 31.4%)
CIE-LABlab(31.95, 36.47, -62.15)
CIE-LCHlch(31.95, 72.06, 300.40°)
OKLaboklab(42.84% 0.0145 -0.1794)
OKLCHoklch(42.84% 0.18 274.6)
XYZxyz(10.9302, 7.0628, 41.3364)
Luminance0.0706 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383BAF #AFAC38
analogous
#3877AF #383BAF #7038AF
triadic
#383BAF #AF383B #3BAF38
tetradic
#383BAF #AF3877 #AFAC38 #38AF70
square
#383BAF #AF3877 #AFAC38 #38AF70
split-complementary
#383BAF #AF7038 #77AF38
monochromatic
#1A1C52 #292B81 #383BAF #5A5DCA #888AD9

Accessibility & contrast

On white

8.70
#383BAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#383BAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383BAF
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383BAF#FFFFFF#000000##FFFFFF
##383BAF1.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B3
Deuteranopia (green-blind)
#0046AD
Tritanopia (blue-blind)
#005970
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #383baf;
/* rgb */ color: rgb(56, 59, 175);
/* oklch */ color: oklch(42.8% 0.180 274.6);
Tailwind
colors: {
  custom: {
    50: '#7e71c8',
    500: '#383baf',
    950: '#000000',
  },
}
SCSS
$custom: #383baf;
$custom-light: #7e71c8;
$custom-dark: #000000;
JSON
{
  "hex": "#383baf",
  "rgb": {
    "r": 56,
    "g": 59,
    "b": 175
  },
  "hsl": {
    "h": 238.487,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.42836,
    "c": 0.17999,
    "h": 274.6
  },
  "luminance": 0.07064
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #383BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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