#2F3CCE#2F3CCE

#2F3CCE is a mid, highly saturated blue. Relative luminance 0.083; OKLCH L 45.5% C 0.220 H 270.2°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#2F3CCE
RGBrgb(47, 60, 206)
HSLhsl(235, 63%, 50%)
HSVhsv(235, 77%, 81%)
CMYKcmyk(77.2%, 70.9%, 0%, 19.2%)
CIE-LABlab(34.58, 45.56, -76.07)
CIE-LCHlch(34.58, 88.67, 300.92°)
OKLaboklab(45.49% 0.0006 -0.2203)
OKLCHoklch(45.49% 0.22 270.2)
XYZxyz(13.9249, 8.2907, 59.2469)
Luminance0.0829 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3CCE #CEC12F
analogous
#2F8CCE #2F3CCE #712FCE
triadic
#2F3CCE #CE2F3C #3CCE2F
tetradic
#2F3CCE #CE2F8C #CEC12F #2FCE71
square
#2F3CCE #CE2F8C #CEC12F #2FCE71
split-complementary
#2F3CCE #CE712F #8CCE2F
monochromatic
#181F6A #242D9C #2F3CCE #606ADB #9198E6

Accessibility & contrast

On white

7.90
#2F3CCE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#2F3CCE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3CCE
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3CCE#FFFFFF#000000##FFFFFF
##2F3CCE1.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f3cce;
/* rgb */ color: rgb(47, 60, 206);
/* oklch */ color: oklch(45.5% 0.220 270.2);
Tailwind
colors: {
  custom: {
    50: '#8273de',
    500: '#2f3cce',
    950: '#000000',
  },
}
SCSS
$custom: #2f3cce;
$custom-light: #8273de;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3cce",
  "rgb": {
    "r": 47,
    "g": 60,
    "b": 206
  },
  "hsl": {
    "h": 235.094,
    "s": 62.846,
    "l": 49.608
  },
  "oklch": {
    "l": 0.45486,
    "c": 0.22028,
    "h": 270.2
  },
  "luminance": 0.08292
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F3CCE

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

Preview Lab → · Contrast checker → · Palette generator →

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