#2F3FCE#2F3FCE

#2F3FCE is a mid, highly saturated blue. Relative luminance 0.086; OKLCH L 46.0% C 0.217 H 269.8°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#2F3FCE
RGBrgb(47, 63, 206)
HSLhsl(234, 63%, 50%)
HSVhsv(234, 77%, 81%)
CMYKcmyk(77.2%, 69.4%, 0%, 19.2%)
CIE-LABlab(35.23, 43.78, -75.00)
CIE-LCHlch(35.23, 86.84, 300.27°)
OKLaboklab(45.95% -0.0007 -0.2172)
OKLCHoklch(45.95% 0.217 269.8)
XYZxyz(14.0866, 8.6140, 59.3008)
Luminance0.0862 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3FCE #CEBE2F
analogous
#2F8FCE #2F3FCE #6E2FCE
triadic
#2F3FCE #CE2F3F #3FCE2F
tetradic
#2F3FCE #CE2F8F #CEBE2F #2FCE6E
square
#2F3FCE #CE2F8F #CEBE2F #2FCE6E
split-complementary
#2F3FCE #CE6E2F #8FCE2F
monochromatic
#18216A #24309C #2F3FCE #606CDB #919AE6

Accessibility & contrast

On white

7.71
#2F3FCE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#2F3FCE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3FCE
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3FCE#FFFFFF#000000##FFFFFF
##2F3FCE1.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BD2
Deuteranopia (green-blind)
#004BCB
Tritanopia (blue-blind)
#006782
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2f3fce;
/* rgb */ color: rgb(47, 63, 206);
/* oklch */ color: oklch(46.0% 0.217 269.8);
Tailwind
colors: {
  custom: {
    50: '#8175de',
    500: '#2f3fce',
    950: '#000000',
  },
}
SCSS
$custom: #2f3fce;
$custom-light: #8175de;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3fce",
  "rgb": {
    "r": 47,
    "g": 63,
    "b": 206
  },
  "hsl": {
    "h": 233.962,
    "s": 62.846,
    "l": 49.608
  },
  "oklch": {
    "l": 0.45953,
    "c": 0.21717,
    "h": 269.8
  },
  "luminance": 0.08616
}

Semantic roles & 50–950 ramp

primary
#2F3FCE
secondary
#D1C988
accent
#D542E6
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #2F3FCE

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

Preview Lab → · Contrast checker → · Palette generator →

#2F3FCE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva