#383FB1#383FB1

#383FB1 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.7% C 0.178 H 273.7°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#383FB1
RGBrgb(56, 63, 177)
HSLhsl(237, 52%, 46%)
HSVhsv(237, 68%, 69%)
CMYKcmyk(68.4%, 64.4%, 0%, 30.6%)
CIE-LABlab(33.07, 34.66, -61.50)
CIE-LCHlch(33.07, 70.60, 299.40°)
OKLaboklab(43.71% 0.0114 -0.1775)
OKLCHoklch(43.71% 0.178 273.7)
XYZxyz(11.3416, 7.5690, 42.4497)
Luminance0.0757 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383FB1 #B1AA38
analogous
#387BB1 #383FB1 #6D38B1
triadic
#383FB1 #B1383F #3FB138
tetradic
#383FB1 #B1387B #B1AA38 #38B16D
square
#383FB1 #B1387B #B1AA38 #38B16D
split-complementary
#383FB1 #B16D38 #7BB138
monochromatic
#1B1E54 #292E83 #383FB1 #5B62CB #8A8EDA

Accessibility & contrast

On white

8.35
#383FB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#383FB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383FB1
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383FB1#FFFFFF#000000##FFFFFF
##383FB11.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B5
Deuteranopia (green-blind)
#0048AF
Tritanopia (blue-blind)
#005C72
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #383fb1;
/* rgb */ color: rgb(56, 63, 177);
/* oklch */ color: oklch(43.7% 0.178 273.7);
Tailwind
colors: {
  custom: {
    50: '#7e74c9',
    500: '#383fb1',
    950: '#000000',
  },
}
SCSS
$custom: #383fb1;
$custom-light: #7e74c9;
$custom-dark: #000000;
JSON
{
  "hex": "#383fb1",
  "rgb": {
    "r": 56,
    "g": 63,
    "b": 177
  },
  "hsl": {
    "h": 236.529,
    "s": 51.931,
    "l": 45.686
  },
  "oklch": {
    "l": 0.43706,
    "c": 0.17787,
    "h": 273.7
  },
  "luminance": 0.0757
}

Semantic roles & 50–950 ramp

primary
#383FB1
secondary
#C4C081
accent
#D34CDB
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #383FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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