#3B30B8#3B30B8

#3B30B8 is a dark, highly saturated blue. Relative luminance 0.065; OKLCH L 42.2% C 0.203 H 276.8°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#3B30B8
RGBrgb(59, 48, 184)
HSLhsl(245, 59%, 45%)
HSVhsv(245, 74%, 72%)
CMYKcmyk(67.9%, 73.9%, 0%, 27.8%)
CIE-LABlab(30.65, 46.30, -69.63)
CIE-LCHlch(30.65, 83.61, 303.62°)
OKLaboklab(42.21% 0.0241 -0.2012)
OKLCHoklch(42.21% 0.203 276.8)
XYZxyz(11.5095, 6.5034, 45.9868)
Luminance0.0650 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B30B8 #ADB830
analogous
#3069B8 #3B30B8 #7F30B8
triadic
#3B30B8 #B83B30 #30B83B
tetradic
#3B30B8 #B83069 #ADB830 #30B87F
square
#3B30B8 #B83069 #ADB830 #30B87F
split-complementary
#3B30B8 #B87F30 #69B830
monochromatic
#1C1757 #2B2387 #3B30B8 #5D53D2 #8B84DF

Accessibility & contrast

On white

9.13
#3B30B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#3B30B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B30B8
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B30B8#FFFFFF#000000##FFFFFF
##3B30B81.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EBC
Deuteranopia (green-blind)
#0042B6
Tritanopia (blue-blind)
#005771
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3b30b8;
/* rgb */ color: rgb(59, 48, 184);
/* oklch */ color: oklch(42.2% 0.203 276.8);
Tailwind
colors: {
  custom: {
    50: '#826bcf',
    500: '#3b30b8',
    950: '#000000',
  },
}
SCSS
$custom: #3b30b8;
$custom-light: #826bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#3b30b8",
  "rgb": {
    "r": 59,
    "g": 48,
    "b": 184
  },
  "hsl": {
    "h": 244.853,
    "s": 58.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.42213,
    "c": 0.20262,
    "h": 276.8
  },
  "luminance": 0.06504
}

Semantic roles & 50–950 ramp

primary
#3B30B8
secondary
#C2C87C
accent
#E246D5
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3B30B8

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

Preview Lab → · Contrast checker → · Palette generator →

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