#3838E3#3838E3

#3838E3 is a mid, highly saturated blue. Relative luminance 0.092; OKLCH L 47.5% C 0.247 H 272.0°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#3838E3
RGBrgb(56, 56, 227)
HSLhsl(240, 75%, 55%)
HSVhsv(240, 75%, 89%)
CMYKcmyk(75.3%, 75.3%, 0%, 11%)
CIE-LABlab(36.39, 55.36, -85.15)
CIE-LCHlch(36.39, 101.57, 303.03°)
OKLaboklab(47.54% 0.0084 -0.2465)
OKLCHoklch(47.54% 0.247 272)
XYZxyz(16.9055, 9.2133, 73.5455)
Luminance0.0921 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3838E3 #E3E338
analogous
#388DE3 #3838E3 #8D38E3
triadic
#3838E3 #E33838 #38E338
tetradic
#3838E3 #E3388D #E3E338 #38E38D
square
#3838E3 #E3388D #E3E338 #38E38D
split-complementary
#3838E3 #E38D38 #8DE338
monochromatic
#14148D #1B1BC2 #3838E3 #6E6EEB #A3A3F2

Accessibility & contrast

On white

7.39
#3838E3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#3838E3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3838E3
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3838E3#FFFFFF#000000##FFFFFF
##3838E31.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EE8
Deuteranopia (green-blind)
#004DE0
Tritanopia (blue-blind)
#006B8C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3838e3;
/* rgb */ color: rgb(56, 56, 227);
/* oklch */ color: oklch(47.5% 0.247 272.0);
Tailwind
colors: {
  custom: {
    50: '#8a71ed',
    500: '#3838e3',
    950: '#000000',
  },
}
SCSS
$custom: #3838e3;
$custom-light: #8a71ed;
$custom-dark: #000000;
JSON
{
  "hex": "#3838e3",
  "rgb": {
    "r": 56,
    "g": 56,
    "b": 227
  },
  "hsl": {
    "h": 240,
    "s": 75.33,
    "l": 55.49
  },
  "oklch": {
    "l": 0.47535,
    "c": 0.24663,
    "h": 272
  },
  "luminance": 0.09215
}

Semantic roles & 50–950 ramp

primary
#3838E3
secondary
#DFDF98
accent
#F236F2
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0817
muted
#7E7B85

Preview Lab

Preview with #3838E3

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

Preview Lab → · Contrast checker → · Palette generator →

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