#3833B2#3833B2

#3833B2 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.8% C 0.193 H 275.8°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#3833B2
RGBrgb(56, 51, 178)
HSLhsl(242, 55%, 45%)
HSVhsv(242, 71%, 70%)
CMYKcmyk(68.5%, 71.3%, 0%, 30.2%)
CIE-LABlab(30.45, 42.31, -66.39)
CIE-LCHlch(30.45, 78.73, 302.51°)
OKLaboklab(41.84% 0.0196 -0.1918)
OKLCHoklch(41.84% 0.193 275.8)
XYZxyz(10.8480, 6.4218, 42.7787)
Luminance0.0642 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3833B2 #ADB233
analogous
#336EB2 #3833B2 #7733B2
triadic
#3833B2 #B23833 #33B238
tetradic
#3833B2 #B2336E #ADB233 #33B277
square
#3833B2 #B2336E #ADB233 #33B277
split-complementary
#3833B2 #B27733 #6EB233
monochromatic
#1A1853 #292582 #3833B2 #5954CE #8784DC

Accessibility & contrast

On white

9.19
#3833B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#3833B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3833B2
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3833B2#FFFFFF#000000##FFFFFF
##3833B21.009.192.289.19
#FFFFFF9.191.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB6
Deuteranopia (green-blind)
#0042B0
Tritanopia (blue-blind)
#00566F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3833b2;
/* rgb */ color: rgb(56, 51, 178);
/* oklch */ color: oklch(41.8% 0.193 275.8);
Tailwind
colors: {
  custom: {
    50: '#7f6cca',
    500: '#3833b2',
    950: '#000000',
  },
}
SCSS
$custom: #3833b2;
$custom-light: #7f6cca;
$custom-dark: #000000;
JSON
{
  "hex": "#3833b2",
  "rgb": {
    "r": 56,
    "g": 51,
    "b": 178
  },
  "hsl": {
    "h": 242.362,
    "s": 55.459,
    "l": 44.902
  },
  "oklch": {
    "l": 0.41841,
    "c": 0.19282,
    "h": 275.8
  },
  "luminance": 0.06423
}

Semantic roles & 50–950 ramp

primary
#3833B2
secondary
#C2C57C
accent
#DF49D9
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #3833B2

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

Preview Lab → · Contrast checker → · Palette generator →

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