#384183#384183

#384183 is a dark, moderate blue. Relative luminance 0.063; OKLCH L 40.4% C 0.110 H 274.5°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#384183
RGBrgb(56, 65, 131)
HSLhsl(233, 40%, 37%)
HSVhsv(233, 57%, 51%)
CMYKcmyk(57.3%, 50.4%, 0%, 48.6%)
CIE-LABlab(30.06, 17.04, -38.44)
CIE-LCHlch(30.06, 42.04, 293.91°)
OKLaboklab(40.36% 0.0087 -0.1097)
OKLCHoklch(40.36% 0.11 274.5)
XYZxyz(7.6166, 6.2595, 22.2752)
Luminance0.0626 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#384183 #837A38
analogous
#386783 #384183 #553883
triadic
#384183 #833841 #418338
tetradic
#384183 #833867 #837A38 #388355
square
#384183 #833867 #837A38 #388355
split-complementary
#384183 #835538 #678338
monochromatic
#13162D #262C58 #384183 #4A56AE #727CC3

Accessibility & contrast

On white

9.33
#384183 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#384183 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #384183
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##384183#FFFFFF#000000##FFFFFF
##3841831.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214A85
Deuteranopia (green-blind)
#164482
Tritanopia (blue-blind)
#10505B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #384183;
/* rgb */ color: rgb(56, 65, 131);
/* oklch */ color: oklch(40.4% 0.110 274.5);
Tailwind
colors: {
  custom: {
    50: '#7575a7',
    500: '#384183',
    950: '#000000',
  },
}
SCSS
$custom: #384183;
$custom-light: #7575a7;
$custom-dark: #000000;
JSON
{
  "hex": "#384183",
  "rgb": {
    "r": 56,
    "g": 65,
    "b": 131
  },
  "hsl": {
    "h": 232.8,
    "s": 40.107,
    "l": 36.667
  },
  "oklch": {
    "l": 0.40355,
    "c": 0.11003,
    "h": 274.5
  },
  "luminance": 0.0626
}

Semantic roles & 50–950 ramp

primary
#384183
secondary
#ACA46B
accent
#C258D0
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#09080F
muted
#7B7B7F

Preview Lab

Preview with #384183

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

Preview Lab → · Contrast checker → · Palette generator →

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