#383D95#383D95

#383D95 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.9% C 0.142 H 275.7°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#383D95
RGBrgb(56, 61, 149)
HSLhsl(237, 45%, 40%)
HSVhsv(237, 62%, 58%)
CMYKcmyk(62.4%, 59.1%, 0%, 41.6%)
CIE-LABlab(30.27, 26.08, -49.18)
CIE-LCHlch(30.27, 55.67, 297.93°)
OKLaboklab(40.93% 0.0141 -0.1413)
OKLCHoklch(40.93% 0.142 275.7)
XYZxyz(8.7227, 6.3475, 29.1935)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383D95 #959038
analogous
#386C95 #383D95 #613895
triadic
#383D95 #95383D #3D9538
tetradic
#383D95 #95386C #959038 #389561
square
#383D95 #95386C #959038 #389561
split-complementary
#383D95 #956138 #6C9538
monochromatic
#17193C #272B69 #383D95 #4E54BC #7A7FCD

Accessibility & contrast

On white

9.25
#383D95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#383D95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383D95
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383D95#FFFFFF#000000##FFFFFF
##383D951.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B98
Deuteranopia (green-blind)
#004393
Tritanopia (blue-blind)
#005263
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #383d95;
/* rgb */ color: rgb(56, 61, 149);
/* oklch */ color: oklch(40.9% 0.142 275.7);
Tailwind
colors: {
  custom: {
    50: '#7972b5',
    500: '#383d95',
    950: '#000000',
  },
}
SCSS
$custom: #383d95;
$custom-light: #7972b5;
$custom-dark: #000000;
JSON
{
  "hex": "#383d95",
  "rgb": {
    "r": 56,
    "g": 61,
    "b": 149
  },
  "hsl": {
    "h": 236.774,
    "s": 45.366,
    "l": 40.196
  },
  "oklch": {
    "l": 0.40929,
    "c": 0.14204,
    "h": 275.7
  },
  "luminance": 0.06348
}

Semantic roles & 50–950 ramp

primary
#383D95
secondary
#B6B373
accent
#CE53D5
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #383D95

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

Preview Lab → · Contrast checker → · Palette generator →

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