#3F55CB#3F55CB

#3F55CB is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.3% C 0.184 H 270.4°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#3F55CB
RGBrgb(63, 85, 203)
HSLhsl(231, 57%, 52%)
HSVhsv(231, 69%, 80%)
CMYKcmyk(69%, 58.1%, 0%, 20.4%)
CIE-LABlab(41.00, 30.82, -63.79)
CIE-LCHlch(41.00, 70.84, 295.79°)
OKLaboklab(50.33% 0.0012 -0.1838)
OKLCHoklch(50.33% 0.184 270.4)
XYZxyz(16.0742, 11.8640, 57.9312)
Luminance0.1187 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F55CB #CBB53F
analogous
#3F9BCB #3F55CB #6F3FCB
triadic
#3F55CB #CB3F55 #55CB3F
tetradic
#3F55CB #CB3F9B #CBB53F #3FCB6F
square
#3F55CB #CB3F9B #CBB53F #3FCB6F
split-complementary
#3F55CB #CB6F3F #9BCB3F
monochromatic
#1F2C71 #2C3EA1 #3F55CB #6F80D8 #9FAAE5

Accessibility & contrast

On white

6.23
#3F55CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#3F55CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F55CB
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F55CB#FFFFFF#000000##FFFFFF
##3F55CB1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CF
Deuteranopia (green-blind)
#005AC9
Tritanopia (blue-blind)
#007288
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #3f55cb;
/* rgb */ color: rgb(63, 85, 203);
/* oklch */ color: oklch(50.3% 0.184 270.4);
Tailwind
colors: {
  custom: {
    50: '#8584dc',
    500: '#3f55cb',
    950: '#000000',
  },
}
SCSS
$custom: #3f55cb;
$custom-light: #8584dc;
$custom-dark: #000000;
JSON
{
  "hex": "#3f55cb",
  "rgb": {
    "r": 63,
    "g": 85,
    "b": 203
  },
  "hsl": {
    "h": 230.571,
    "s": 57.377,
    "l": 52.157
  },
  "oklch": {
    "l": 0.50328,
    "c": 0.18384,
    "h": 270.4
  },
  "luminance": 0.11866
}

Semantic roles & 50–950 ramp

primary
#3F55CB
secondary
#D1C894
accent
#C947E1
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3F55CB

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

Preview Lab → · Contrast checker → · Palette generator →

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