#3838BE#3838BE

#3838BE is a dark, highly saturated blue. Relative luminance 0.074; OKLCH L 43.8% C 0.202 H 274.1°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#3838BE
RGBrgb(56, 56, 190)
HSLhsl(240, 54%, 48%)
HSVhsv(240, 71%, 75%)
CMYKcmyk(70.5%, 70.5%, 0%, 25.5%)
CIE-LABlab(32.67, 43.37, -69.85)
CIE-LCHlch(32.67, 82.22, 301.84°)
OKLaboklab(43.78% 0.0146 -0.2019)
OKLCHoklch(43.78% 0.202 274.1)
XYZxyz(12.3362, 7.3856, 49.4807)
Luminance0.0739 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3838BE #BEBE38
analogous
#387BBE #3838BE #7B38BE
triadic
#3838BE #BE3838 #38BE38
tetradic
#3838BE #BE387B #BEBE38 #38BE7B
square
#3838BE #BE387B #BEBE38 #38BE7B
split-complementary
#3838BE #BE7B38 #7BBE38
monochromatic
#1C1C5F #2A2A8F #3838BE #6262D1 #9292DF

Accessibility & contrast

On white

8.48
#3838BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#3838BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3838BE
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3838BE#FFFFFF#000000##FFFFFF
##3838BE1.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C2
Deuteranopia (green-blind)
#0046BC
Tritanopia (blue-blind)
#005D77
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3838be;
/* rgb */ color: rgb(56, 56, 190);
/* oklch */ color: oklch(43.8% 0.202 274.1);
Tailwind
colors: {
  custom: {
    50: '#8270d3',
    500: '#3838be',
    950: '#000000',
  },
}
SCSS
$custom: #3838be;
$custom-light: #8270d3;
$custom-dark: #000000;
JSON
{
  "hex": "#3838be",
  "rgb": {
    "r": 56,
    "g": 56,
    "b": 190
  },
  "hsl": {
    "h": 240,
    "s": 54.472,
    "l": 48.235
  },
  "oklch": {
    "l": 0.43778,
    "c": 0.20247,
    "h": 274.1
  },
  "luminance": 0.07387
}

Semantic roles & 50–950 ramp

primary
#3838BE
secondary
#CACA88
accent
#DE4ADE
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #3838BE

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

Preview Lab → · Contrast checker → · Palette generator →

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