#3838C3#3838C3

#3838C3 is a dark, highly saturated blue. Relative luminance 0.076; OKLCH L 44.3% C 0.209 H 273.8°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#3838C3
RGBrgb(56, 56, 195)
HSLhsl(240, 55%, 49%)
HSVhsv(240, 71%, 76%)
CMYKcmyk(71.3%, 71.3%, 0%, 23.5%)
CIE-LABlab(33.15, 45.04, -71.99)
CIE-LCHlch(33.15, 84.92, 302.03°)
OKLaboklab(44.27% 0.0139 -0.2082)
OKLCHoklch(44.27% 0.209 273.8)
XYZxyz(12.8921, 7.6080, 52.4082)
Luminance0.0761 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3838C3 #C3C338
analogous
#387EC3 #3838C3 #7E38C3
triadic
#3838C3 #C33838 #38C338
tetradic
#3838C3 #C3387E #C3C338 #38C37E
square
#3838C3 #C3387E #C3C338 #38C37E
split-complementary
#3838C3 #C37E38 #7EC338
monochromatic
#1D1D64 #2A2A93 #3838C3 #6565D3 #9595E1

Accessibility & contrast

On white

8.33
#3838C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#3838C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3838C3
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3838C3#FFFFFF#000000##FFFFFF
##3838C31.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C7
Deuteranopia (green-blind)
#0047C0
Tritanopia (blue-blind)
#005F7A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3838c3;
/* rgb */ color: rgb(56, 56, 195);
/* oklch */ color: oklch(44.3% 0.209 273.8);
Tailwind
colors: {
  custom: {
    50: '#8370d6',
    500: '#3838c3',
    950: '#000000',
  },
}
SCSS
$custom: #3838c3;
$custom-light: #8370d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3838c3",
  "rgb": {
    "r": 56,
    "g": 56,
    "b": 195
  },
  "hsl": {
    "h": 240,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.44271,
    "c": 0.20865,
    "h": 273.8
  },
  "luminance": 0.07609
}

Semantic roles & 50–950 ramp

primary
#3838C3
secondary
#CCCC8B
accent
#DF49DF
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #3838C3

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

Preview Lab → · Contrast checker → · Palette generator →

#3838C3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva