#383095#383095

#383095 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.6% C 0.159 H 279.5°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#383095
RGBrgb(56, 48, 149)
HSLhsl(245, 51%, 39%)
HSVhsv(245, 68%, 58%)
CMYKcmyk(62.4%, 67.8%, 0%, 41.6%)
CIE-LABlab(27.09, 34.42, -54.38)
CIE-LCHlch(27.09, 64.36, 302.33°)
OKLaboklab(38.59% 0.0261 -0.1567)
OKLCHoklch(38.59% 0.159 279.5)
XYZxyz(8.1109, 5.1240, 28.9896)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383095 #8D9530
analogous
#305A95 #383095 #6A3095
triadic
#383095 #953830 #309538
tetradic
#383095 #95305A #8D9530 #30956A
square
#383095 #95305A #8D9530 #30956A
split-complementary
#383095 #956A30 #5A9530
monochromatic
#151238 #272167 #383095 #4B41C2 #776FD1

Accessibility & contrast

On white

10.37
#383095 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#383095 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383095
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383095#FFFFFF#000000##FFFFFF
##3830951.0010.372.0310.37
#FFFFFF10.371.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004498
Deuteranopia (green-blind)
#003C93
Tritanopia (blue-blind)
#004A5E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #383095;
/* rgb */ color: rgb(56, 48, 149);
/* oklch */ color: oklch(38.6% 0.159 279.5);
Tailwind
colors: {
  custom: {
    50: '#7a69b5',
    500: '#383095',
    950: '#000000',
  },
}
SCSS
$custom: #383095;
$custom-light: #7a69b5;
$custom-dark: #000000;
JSON
{
  "hex": "#383095",
  "rgb": {
    "r": 56,
    "g": 48,
    "b": 149
  },
  "hsl": {
    "h": 244.752,
    "s": 51.269,
    "l": 38.627
  },
  "oklch": {
    "l": 0.38592,
    "c": 0.15883,
    "h": 279.5
  },
  "luminance": 0.05125
}

Semantic roles & 50–950 ramp

primary
#383095
secondary
#B2B869
accent
#DB4DD0
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #383095

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

Preview Lab → · Contrast checker → · Palette generator →

#383095 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva