#3833A2#3833A2

#3833A2 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.3% C 0.172 H 277.3°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#3833A2
RGBrgb(56, 51, 162)
HSLhsl(243, 52%, 42%)
HSVhsv(243, 69%, 64%)
CMYKcmyk(65.4%, 68.5%, 0%, 36.5%)
CIE-LABlab(28.94, 36.96, -59.26)
CIE-LCHlch(28.94, 69.84, 301.95°)
OKLaboklab(40.3% 0.022 -0.171)
OKLCHoklch(40.3% 0.172 277.3)
XYZxyz(9.3342, 5.8163, 34.8062)
Luminance0.0582 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3833A2 #9DA233
analogous
#3366A2 #3833A2 #7033A2
triadic
#3833A2 #A23833 #33A238
tetradic
#3833A2 #A23366 #9DA233 #33A270
square
#3833A2 #A23366 #9DA233 #33A270
split-complementary
#3833A2 #A27033 #66A233
monochromatic
#181645 #282473 #3833A2 #514CC7 #7E7AD5

Accessibility & contrast

On white

9.71
#3833A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#3833A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3833A2
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3833A2#FFFFFF#000000##FFFFFF
##3833A21.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A5
Deuteranopia (green-blind)
#003FA0
Tritanopia (blue-blind)
#005066
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3833a2;
/* rgb */ color: rgb(56, 51, 162);
/* oklch */ color: oklch(40.3% 0.172 277.3);
Tailwind
colors: {
  custom: {
    50: '#7c6bbf',
    500: '#3833a2',
    950: '#000000',
  },
}
SCSS
$custom: #3833a2;
$custom-light: #7c6bbf;
$custom-dark: #000000;
JSON
{
  "hex": "#3833a2",
  "rgb": {
    "r": 56,
    "g": 51,
    "b": 162
  },
  "hsl": {
    "h": 242.703,
    "s": 52.113,
    "l": 41.765
  },
  "oklch": {
    "l": 0.40298,
    "c": 0.17238,
    "h": 277.3
  },
  "luminance": 0.05817
}

Semantic roles & 50–950 ramp

primary
#3833A2
secondary
#BABE73
accent
#DC4CD5
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #3833A2

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

Preview Lab → · Contrast checker → · Palette generator →

#3833A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva