#2F3BCE#2F3BCE

#2F3BCE is a mid, highly saturated blue. Relative luminance 0.082; OKLCH L 45.3% C 0.221 H 270.3°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#2F3BCE
RGBrgb(47, 59, 206)
HSLhsl(235, 63%, 50%)
HSVhsv(235, 77%, 81%)
CMYKcmyk(77.2%, 71.4%, 0%, 19.2%)
CIE-LABlab(34.37, 46.15, -76.42)
CIE-LCHlch(34.37, 89.27, 301.13°)
OKLaboklab(45.33% 0.0011 -0.2213)
OKLCHoklch(45.33% 0.221 270.3)
XYZxyz(13.8730, 8.1870, 59.2296)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3BCE #CEC22F
analogous
#2F8ACE #2F3BCE #732FCE
triadic
#2F3BCE #CE2F3B #3BCE2F
tetradic
#2F3BCE #CE2F8A #CEC22F #2FCE73
square
#2F3BCE #CE2F8A #CEC22F #2FCE73
split-complementary
#2F3BCE #CE732F #8ACE2F
monochromatic
#181E6A #242D9C #2F3BCE #6069DB #9198E6

Accessibility & contrast

On white

7.96
#2F3BCE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#2F3BCE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3BCE
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3BCE#FFFFFF#000000##FFFFFF
##2F3BCE1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059D2
Deuteranopia (green-blind)
#0049CB
Tritanopia (blue-blind)
#006581
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2f3bce;
/* rgb */ color: rgb(47, 59, 206);
/* oklch */ color: oklch(45.3% 0.221 270.3);
Tailwind
colors: {
  custom: {
    50: '#8272de',
    500: '#2f3bce',
    950: '#000000',
  },
}
SCSS
$custom: #2f3bce;
$custom-light: #8272de;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3bce",
  "rgb": {
    "r": 47,
    "g": 59,
    "b": 206
  },
  "hsl": {
    "h": 235.472,
    "s": 62.846,
    "l": 49.608
  },
  "oklch": {
    "l": 0.45334,
    "c": 0.2213,
    "h": 270.3
  },
  "luminance": 0.08188
}

Semantic roles & 50–950 ramp

primary
#2F3BCE
secondary
#D1CB88
accent
#DA42E6
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #2F3BCE

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

Preview Lab → · Contrast checker → · Palette generator →

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