#3A33B8#3A33B8

#3A33B8 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 42.6% C 0.200 H 276.1°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#3A33B8
RGBrgb(58, 51, 184)
HSLhsl(243, 57%, 46%)
HSVhsv(243, 72%, 72%)
CMYKcmyk(68.5%, 72.3%, 0%, 27.8%)
CIE-LABlab(31.18, 44.51, -68.76)
CIE-LCHlch(31.18, 81.91, 302.91°)
OKLaboklab(42.57% 0.0211 -0.1987)
OKLCHoklch(42.57% 0.2 276.1)
XYZxyz(11.5776, 6.7268, 46.0264)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A33B8 #B1B833
analogous
#336EB8 #3A33B8 #7C33B8
triadic
#3A33B8 #B83A33 #33B83A
tetradic
#3A33B8 #B8336E #B1B833 #33B87C
square
#3A33B8 #B8336E #B1B833 #33B87C
split-complementary
#3A33B8 #B87C33 #6EB833
monochromatic
#1C1858 #2B2688 #3A33B8 #5E58D1 #8C88DE

Accessibility & contrast

On white

8.95
#3A33B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#3A33B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A33B8
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A33B8#FFFFFF#000000##FFFFFF
##3A33B81.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBC
Deuteranopia (green-blind)
#0043B6
Tritanopia (blue-blind)
#005872
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3a33b8;
/* rgb */ color: rgb(58, 51, 184);
/* oklch */ color: oklch(42.6% 0.200 276.1);
Tailwind
colors: {
  custom: {
    50: '#826ccf',
    500: '#3a33b8',
    950: '#000000',
  },
}
SCSS
$custom: #3a33b8;
$custom-light: #826ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#3a33b8",
  "rgb": {
    "r": 58,
    "g": 51,
    "b": 184
  },
  "hsl": {
    "h": 243.158,
    "s": 56.596,
    "l": 46.078
  },
  "oklch": {
    "l": 0.4257,
    "c": 0.1998,
    "h": 276.1
  },
  "luminance": 0.06728
}

Semantic roles & 50–950 ramp

primary
#3A33B8
secondary
#C4C87F
accent
#E048D8
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3A33B8

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

Preview Lab → · Contrast checker → · Palette generator →

#3A33B8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva