#3F4E9B#3F4E9B

#3F4E9B is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.3% C 0.126 H 272.2°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#3F4E9B
RGBrgb(63, 78, 155)
HSLhsl(230, 42%, 43%)
HSVhsv(230, 59%, 61%)
CMYKcmyk(59.4%, 49.7%, 0%, 39.2%)
CIE-LABlab(35.74, 18.34, -43.98)
CIE-LCHlch(35.74, 47.66, 292.64°)
OKLaboklab(45.29% 0.0048 -0.1257)
OKLCHoklch(45.29% 0.126 272.2)
XYZxyz(10.6887, 8.8713, 32.1531)
Luminance0.0887 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F4E9B #9B8C3F
analogous
#3F7C9B #3F4E9B #5E3F9B
triadic
#3F4E9B #9B3F4E #4E9B3F
tetradic
#3F4E9B #9B3F7C #9B8C3F #3F9B5E
square
#3F4E9B #9B3F7C #9B8C3F #3F9B5E
split-complementary
#3F4E9B #9B5E3F #7C9B3F
monochromatic
#1C2244 #2D386F #3F4E9B #5B6BBC #8692CE

Accessibility & contrast

On white

7.57
#3F4E9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#3F4E9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F4E9B
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F4E9B#FFFFFF#000000##FFFFFF
##3F4E9B1.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27589E
Deuteranopia (green-blind)
#185099
Tritanopia (blue-blind)
#005F6D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3f4e9b;
/* rgb */ color: rgb(63, 78, 155);
/* oklch */ color: oklch(45.3% 0.126 272.2);
Tailwind
colors: {
  custom: {
    50: '#7c7fb9',
    500: '#3f4e9b',
    950: '#000000',
  },
}
SCSS
$custom: #3f4e9b;
$custom-light: #7c7fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#3f4e9b",
  "rgb": {
    "r": 63,
    "g": 78,
    "b": 155
  },
  "hsl": {
    "h": 230.217,
    "s": 42.202,
    "l": 42.745
  },
  "oklch": {
    "l": 0.45289,
    "c": 0.12577,
    "h": 272.2
  },
  "luminance": 0.08872
}

Semantic roles & 50–950 ramp

primary
#3F4E9B
secondary
#B8AF7D
accent
#BE56D2
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A11
muted
#7C7C80

Preview Lab

Preview with #3F4E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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