#38349C#38349C

#38349C is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.9% C 0.163 H 277.7°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#38349C
RGBrgb(56, 52, 156)
HSLhsl(242, 50%, 41%)
HSVhsv(242, 67%, 61%)
CMYKcmyk(64.1%, 66.7%, 0%, 38.8%)
CIE-LABlab(28.63, 34.31, -56.13)
CIE-LCHlch(28.63, 65.78, 301.43°)
OKLaboklab(39.91% 0.0219 -0.1618)
OKLCHoklch(39.91% 0.163 277.7)
XYZxyz(8.8577, 5.6963, 32.0788)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38349C #989C34
analogous
#34649C #38349C #6C349C
triadic
#38349C #9C3834 #349C38
tetradic
#38349C #9C3464 #989C34 #349C6C
square
#38349C #9C3464 #989C34 #349C6C
split-complementary
#38349C #9C6C34 #649C34
monochromatic
#171540 #28256E #38349C #4F4AC3 #7C78D2

Accessibility & contrast

On white

9.82
#38349C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#38349C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38349C
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38349C#FFFFFF#000000##FFFFFF
##38349C1.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489F
Deuteranopia (green-blind)
#003F9A
Tritanopia (blue-blind)
#004F63
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #38349c;
/* rgb */ color: rgb(56, 52, 156);
/* oklch */ color: oklch(39.9% 0.163 277.7);
Tailwind
colors: {
  custom: {
    50: '#7b6cba',
    500: '#38349c',
    950: '#000000',
  },
}
SCSS
$custom: #38349c;
$custom-light: #7b6cba;
$custom-dark: #000000;
JSON
{
  "hex": "#38349c",
  "rgb": {
    "r": 56,
    "g": 52,
    "b": 156
  },
  "hsl": {
    "h": 242.308,
    "s": 50,
    "l": 40.784
  },
  "oklch": {
    "l": 0.39906,
    "c": 0.16327,
    "h": 277.7
  },
  "luminance": 0.05697
}

Semantic roles & 50–950 ramp

primary
#38349C
secondary
#B8BB71
accent
#DA4ED4
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #38349C

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

Preview Lab → · Contrast checker → · Palette generator →

#38349C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva