#3F4BAB#3F4BAB

#3F4BAB is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.9% C 0.153 H 273.4°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#3F4BAB
RGBrgb(63, 75, 171)
HSLhsl(233, 46%, 46%)
HSVhsv(233, 63%, 67%)
CMYKcmyk(63.2%, 56.1%, 0%, 32.9%)
CIE-LABlab(36.04, 25.93, -53.08)
CIE-LCHlch(36.04, 59.08, 296.04°)
OKLaboklab(45.87% 0.0091 -0.1525)
OKLCHoklch(45.87% 0.153 273.4)
XYZxyz(11.9142, 9.0282, 39.6349)
Luminance0.0903 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F4BAB #AB9F3F
analogous
#3F81AB #3F4BAB #693FAB
triadic
#3F4BAB #AB3F4B #4BAB3F
tetradic
#3F4BAB #AB3F81 #AB9F3F #3FAB69
square
#3F4BAB #AB3F81 #AB9F3F #3FAB69
split-complementary
#3F4BAB #AB693F #81AB3F
monochromatic
#1E2452 #2F377E #3F4BAB #626DC5 #8F97D6

Accessibility & contrast

On white

7.48
#3F4BAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#3F4BAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F4BAB
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F4BAB#FFFFFF#000000##FFFFFF
##3F4BAB1.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AAE
Deuteranopia (green-blind)
#0050A9
Tritanopia (blue-blind)
#006273
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3f4bab;
/* rgb */ color: rgb(63, 75, 171);
/* oklch */ color: oklch(45.9% 0.153 273.4);
Tailwind
colors: {
  custom: {
    50: '#7f7dc5',
    500: '#3f4bab',
    950: '#000000',
  },
}
SCSS
$custom: #3f4bab;
$custom-light: #7f7dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#3f4bab",
  "rgb": {
    "r": 63,
    "g": 75,
    "b": 171
  },
  "hsl": {
    "h": 233.333,
    "s": 46.154,
    "l": 45.882
  },
  "oklch": {
    "l": 0.45871,
    "c": 0.15274,
    "h": 273.4
  },
  "luminance": 0.09029
}

Semantic roles & 50–950 ramp

primary
#3F4BAB
secondary
#C1BA85
accent
#C752D6
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3F4BAB

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

Preview Lab → · Contrast checker → · Palette generator →

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