#3F30B8#3F30B8

#3F30B8 is a dark, highly saturated blue. Relative luminance 0.066; OKLCH L 42.5% C 0.202 H 278.4°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#3F30B8
RGBrgb(63, 48, 184)
HSLhsl(247, 59%, 45%)
HSVhsv(247, 74%, 72%)
CMYKcmyk(65.8%, 73.9%, 0%, 27.8%)
CIE-LABlab(30.95, 46.75, -69.12)
CIE-LCHlch(30.95, 83.44, 304.07°)
OKLaboklab(42.5% 0.0295 -0.1996)
OKLCHoklch(42.5% 0.202 278.4)
XYZxyz(11.7558, 6.6304, 45.9984)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F30B8 #A9B830
analogous
#3065B8 #3F30B8 #8330B8
triadic
#3F30B8 #B83F30 #30B83F
tetradic
#3F30B8 #B83065 #A9B830 #30B883
square
#3F30B8 #B83065 #A9B830 #30B883
split-complementary
#3F30B8 #B88330 #65B830
monochromatic
#1E1757 #2E2387 #3F30B8 #6153D2 #8E84DF

Accessibility & contrast

On white

9.03
#3F30B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#3F30B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F30B8
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F30B8#FFFFFF#000000##FFFFFF
##3F30B81.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f30b8;
/* rgb */ color: rgb(63, 48, 184);
/* oklch */ color: oklch(42.5% 0.202 278.4);
Tailwind
colors: {
  custom: {
    50: '#846bcf',
    500: '#3f30b8',
    950: '#000000',
  },
}
SCSS
$custom: #3f30b8;
$custom-light: #846bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#3f30b8",
  "rgb": {
    "r": 63,
    "g": 48,
    "b": 184
  },
  "hsl": {
    "h": 246.618,
    "s": 58.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.42504,
    "c": 0.20175,
    "h": 278.4
  },
  "luminance": 0.06631
}

Semantic roles & 50–950 ramp

primary
#3F30B8
secondary
#C0C87C
accent
#E246D1
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3F30B8

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

Preview Lab → · Contrast checker → · Palette generator →

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