#383E99#383E99

#383E99 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.5% C 0.146 H 275.2°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#383E99
RGBrgb(56, 62, 153)
HSLhsl(236, 46%, 41%)
HSVhsv(236, 63%, 60%)
CMYKcmyk(63.4%, 59.5%, 0%, 40%)
CIE-LABlab(30.84, 26.84, -50.70)
CIE-LCHlch(30.84, 57.36, 297.90°)
OKLaboklab(41.45% 0.0131 -0.1458)
OKLCHoklch(41.45% 0.146 275.2)
XYZxyz(9.1014, 6.5852, 30.9223)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383E99 #999338
analogous
#386E99 #383E99 #623899
triadic
#383E99 #99383E #3E9938
tetradic
#383E99 #99386E #999338 #389962
square
#383E99 #99386E #999338 #389962
split-complementary
#383E99 #996238 #6E9938
monochromatic
#171A3F #282C6C #383E99 #4F56BF #7C81CF

Accessibility & contrast

On white

9.06
#383E99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#383E99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383E99
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383E99#FFFFFF#000000##FFFFFF
##383E991.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9C
Deuteranopia (green-blind)
#004497
Tritanopia (blue-blind)
#005465
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #383e99;
/* rgb */ color: rgb(56, 62, 153);
/* oklch */ color: oklch(41.5% 0.146 275.2);
Tailwind
colors: {
  custom: {
    50: '#7973b8',
    500: '#383e99',
    950: '#000000',
  },
}
SCSS
$custom: #383e99;
$custom-light: #7973b8;
$custom-dark: #000000;
JSON
{
  "hex": "#383e99",
  "rgb": {
    "r": 56,
    "g": 62,
    "b": 153
  },
  "hsl": {
    "h": 236.289,
    "s": 46.411,
    "l": 40.98
  },
  "oklch": {
    "l": 0.41451,
    "c": 0.14637,
    "h": 275.2
  },
  "luminance": 0.06586
}

Semantic roles & 50–950 ramp

primary
#383E99
secondary
#B8B474
accent
#CE52D6
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #383E99

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

Preview Lab → · Contrast checker → · Palette generator →

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