#384F95#384F95

#384F95 is a dark, moderate blue. Relative luminance 0.086; OKLCH L 44.6% C 0.118 H 267.8°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#384F95
RGBrgb(56, 79, 149)
HSLhsl(225, 45%, 40%)
HSVhsv(225, 62%, 58%)
CMYKcmyk(62.4%, 47%, 0%, 41.6%)
CIE-LABlab(35.21, 14.14, -41.23)
CIE-LCHlch(35.21, 43.59, 288.93°)
OKLaboklab(44.65% -0.0046 -0.1177)
OKLCHoklch(44.65% 0.118 267.8)
XYZxyz(9.8498, 8.6018, 29.5692)
Luminance0.0860 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#384F95 #957E38
analogous
#387E95 #384F95 #4F3895
triadic
#384F95 #95384F #4F9538
tetradic
#384F95 #95387E #957E38 #38954F
square
#384F95 #95387E #957E38 #38954F
split-complementary
#384F95 #954F38 #7E9538
monochromatic
#17203C #273769 #384F95 #4E69BC #7A8FCD

Accessibility & contrast

On white

7.72
#384F95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#384F95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #384F95
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##384F95#FFFFFF#000000##FFFFFF
##384F951.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5798
Deuteranopia (green-blind)
#1E4F94
Tritanopia (blue-blind)
#005F6B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #384f95;
/* rgb */ color: rgb(56, 79, 149);
/* oklch */ color: oklch(44.6% 0.118 267.8);
Tailwind
colors: {
  custom: {
    50: '#787fb4',
    500: '#384f95',
    950: '#000000',
  },
}
SCSS
$custom: #384f95;
$custom-light: #787fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#384f95",
  "rgb": {
    "r": 56,
    "g": 79,
    "b": 149
  },
  "hsl": {
    "h": 225.161,
    "s": 45.366,
    "l": 40.196
  },
  "oklch": {
    "l": 0.44649,
    "c": 0.11781,
    "h": 267.8
  },
  "luminance": 0.08603
}

Semantic roles & 50–950 ramp

primary
#384F95
secondary
#B6A673
accent
#B553D5
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #384F95

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

Preview Lab → · Contrast checker → · Palette generator →

#384F95 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva