#3838BC#3838BC

#3838BC is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.6% C 0.200 H 274.3°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#3838BC
RGBrgb(56, 56, 188)
HSLhsl(240, 54%, 48%)
HSVhsv(240, 70%, 74%)
CMYKcmyk(70.2%, 70.2%, 0%, 26.3%)
CIE-LABlab(32.48, 42.70, -68.99)
CIE-LCHlch(32.48, 81.14, 301.76°)
OKLaboklab(43.58% 0.0149 -0.1994)
OKLCHoklch(43.58% 0.2 274.3)
XYZxyz(12.1191, 7.2988, 48.3373)
Luminance0.0730 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3838BC #BCBC38
analogous
#387ABC #3838BC #7A38BC
triadic
#3838BC #BC3838 #38BC38
tetradic
#3838BC #BC387A #BCBC38 #38BC7A
square
#3838BC #BC387A #BCBC38 #38BC7A
split-complementary
#3838BC #BC7A38 #7ABC38
monochromatic
#1C1C5E #2A2A8D #3838BC #6161D0 #9090DE

Accessibility & contrast

On white

8.54
#3838BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#3838BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3838BC
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3838BC#FFFFFF#000000##FFFFFF
##3838BC1.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C0
Deuteranopia (green-blind)
#0046BA
Tritanopia (blue-blind)
#005C76
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3838bc;
/* rgb */ color: rgb(56, 56, 188);
/* oklch */ color: oklch(43.6% 0.200 274.3);
Tailwind
colors: {
  custom: {
    50: '#8170d1',
    500: '#3838bc',
    950: '#000000',
  },
}
SCSS
$custom: #3838bc;
$custom-light: #8170d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3838bc",
  "rgb": {
    "r": 56,
    "g": 56,
    "b": 188
  },
  "hsl": {
    "h": 240,
    "s": 54.098,
    "l": 47.843
  },
  "oklch": {
    "l": 0.43583,
    "c": 0.19998,
    "h": 274.3
  },
  "luminance": 0.073
}

Semantic roles & 50–950 ramp

primary
#3838BC
secondary
#C9C987
accent
#DD4ADD
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #3838BC

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

Preview Lab → · Contrast checker → · Palette generator →

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