#3F38AF#3F38AF

#3F38AF is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.8% C 0.182 H 278.0°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#3F38AF
RGBrgb(63, 56, 175)
HSLhsl(244, 52%, 45%)
HSVhsv(244, 68%, 69%)
CMYKcmyk(64%, 68%, 0%, 31.4%)
CIE-LABlab(31.76, 39.26, -62.44)
CIE-LCHlch(31.76, 73.76, 302.16°)
OKLaboklab(42.83% 0.0255 -0.1801)
OKLCHoklch(42.83% 0.182 278)
XYZxyz(11.1994, 6.9794, 41.3061)
Luminance0.0698 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F38AF #A8AF38
analogous
#386DAF #3F38AF #7A38AF
triadic
#3F38AF #AF3F38 #38AF3F
tetradic
#3F38AF #AF386D #A8AF38 #38AF7A
square
#3F38AF #AF386D #A8AF38 #38AF7A
split-complementary
#3F38AF #AF7A38 #6DAF38
monochromatic
#1E1A52 #2E2981 #3F38AF #615ACA #8D88D9

Accessibility & contrast

On white

8.76
#3F38AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#3F38AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F38AF
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F38AF#FFFFFF#000000##FFFFFF
##3F38AF1.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B3
Deuteranopia (green-blind)
#0046AD
Tritanopia (blue-blind)
#00576F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3f38af;
/* rgb */ color: rgb(63, 56, 175);
/* oklch */ color: oklch(42.8% 0.182 278.0);
Tailwind
colors: {
  custom: {
    50: '#826fc8',
    500: '#3f38af',
    950: '#000000',
  },
}
SCSS
$custom: #3f38af;
$custom-light: #826fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#3f38af",
  "rgb": {
    "r": 63,
    "g": 56,
    "b": 175
  },
  "hsl": {
    "h": 243.529,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.42826,
    "c": 0.18187,
    "h": 278
  },
  "luminance": 0.0698
}

Semantic roles & 50–950 ramp

primary
#3F38AF
secondary
#BFC380
accent
#DB4DD3
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #3F38AF

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

Preview Lab → · Contrast checker → · Palette generator →

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