#3F34B8#3F34B8

#3F34B8 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 43.1% C 0.198 H 277.8°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#3F34B8
RGBrgb(63, 52, 184)
HSLhsl(245, 56%, 46%)
HSVhsv(245, 72%, 72%)
CMYKcmyk(65.8%, 71.7%, 0%, 27.8%)
CIE-LABlab(31.74, 44.53, -67.81)
CIE-LCHlch(31.74, 81.13, 303.29°)
OKLaboklab(43.07% 0.0269 -0.1958)
OKLCHoklch(43.07% 0.198 277.8)
XYZxyz(11.9268, 6.9724, 46.0554)
Luminance0.0697 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F34B8 #ADB834
analogous
#346BB8 #3F34B8 #8134B8
triadic
#3F34B8 #B83F34 #34B83F
tetradic
#3F34B8 #B8346B #ADB834 #34B881
square
#3F34B8 #B8346B #ADB834 #34B881
split-complementary
#3F34B8 #B88134 #6BB834
monochromatic
#1E1959 #2F2788 #3F34B8 #6359D0 #9089DE

Accessibility & contrast

On white

8.77
#3F34B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#3F34B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F34B8
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F34B8#FFFFFF#000000##FFFFFF
##3F34B81.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050BC
Deuteranopia (green-blind)
#0045B6
Tritanopia (blue-blind)
#005972
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3f34b8;
/* rgb */ color: rgb(63, 52, 184);
/* oklch */ color: oklch(43.1% 0.198 277.8);
Tailwind
colors: {
  custom: {
    50: '#846dce',
    500: '#3f34b8',
    950: '#000000',
  },
}
SCSS
$custom: #3f34b8;
$custom-light: #846dce;
$custom-dark: #000000;
JSON
{
  "hex": "#3f34b8",
  "rgb": {
    "r": 63,
    "g": 52,
    "b": 184
  },
  "hsl": {
    "h": 245,
    "s": 55.932,
    "l": 46.275
  },
  "oklch": {
    "l": 0.43068,
    "c": 0.19764,
    "h": 277.8
  },
  "luminance": 0.06973
}

Semantic roles & 50–950 ramp

primary
#3F34B8
secondary
#C2C880
accent
#DF49D3
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3F34B8

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

Preview Lab → · Contrast checker → · Palette generator →

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