#3B34AB#3B34AB

#3B34AB is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.5% C 0.182 H 277.5°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#3B34AB
RGBrgb(59, 52, 171)
HSLhsl(244, 53%, 44%)
HSVhsv(244, 70%, 67%)
CMYKcmyk(65.5%, 69.6%, 0%, 32.9%)
CIE-LABlab(30.22, 39.78, -62.58)
CIE-LCHlch(30.22, 74.16, 302.44°)
OKLaboklab(41.53% 0.0238 -0.1806)
OKLCHoklch(41.53% 0.182 277.5)
XYZxyz(10.3799, 6.3252, 39.1941)
Luminance0.0633 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B34AB #A4AB34
analogous
#3468AB #3B34AB #7634AB
triadic
#3B34AB #AB3B34 #34AB3B
tetradic
#3B34AB #AB3468 #A4AB34 #34AB76
square
#3B34AB #AB3468 #A4AB34 #34AB76
split-complementary
#3B34AB #AB7634 #68AB34
monochromatic
#1B174D #2B267C #3B34AB #5952CA #8681D9

Accessibility & contrast

On white

9.27
#3B34AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#3B34AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B34AB
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B34AB#FFFFFF#000000##FFFFFF
##3B34AB1.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAF
Deuteranopia (green-blind)
#0042A9
Tritanopia (blue-blind)
#00546B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3b34ab;
/* rgb */ color: rgb(59, 52, 171);
/* oklch */ color: oklch(41.5% 0.182 277.5);
Tailwind
colors: {
  custom: {
    50: '#7f6dc5',
    500: '#3b34ab',
    950: '#000000',
  },
}
SCSS
$custom: #3b34ab;
$custom-light: #7f6dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#3b34ab",
  "rgb": {
    "r": 59,
    "g": 52,
    "b": 171
  },
  "hsl": {
    "h": 243.529,
    "s": 53.363,
    "l": 43.725
  },
  "oklch": {
    "l": 0.41527,
    "c": 0.18219,
    "h": 277.5
  },
  "luminance": 0.06326
}

Semantic roles & 50–950 ramp

primary
#3B34AB
secondary
#BEC279
accent
#DD4BD4
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3B34AB

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

Preview Lab → · Contrast checker → · Palette generator →

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