#2F3CD7#2F3CD7

#2F3CD7 is a mid, highly saturated blue. Relative luminance 0.087; OKLCH L 46.4% C 0.231 H 269.9°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#2F3CD7
RGBrgb(47, 60, 215)
HSLhsl(235, 68%, 51%)
HSVhsv(235, 78%, 84%)
CMYKcmyk(78.1%, 72.1%, 0%, 15.7%)
CIE-LABlab(35.48, 48.60, -79.79)
CIE-LCHlch(35.48, 93.43, 301.35°)
OKLaboklab(46.4% -0.0005 -0.2311)
OKLCHoklch(46.4% 0.231 269.9)
XYZxyz(15.0497, 8.7406, 65.1707)
Luminance0.0874 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3CD7 #D7CA2F
analogous
#2F90D7 #2F3CD7 #762FD7
triadic
#2F3CD7 #D72F3C #3CD72F
tetradic
#2F3CD7 #D72F90 #D7CA2F #2FD776
square
#2F3CD7 #D72F90 #D7CA2F #2FD776
split-complementary
#2F3CD7 #D7762F #90D72F
monochromatic
#171E75 #202BA8 #2F3CD7 #626CE1 #969CEB

Accessibility & contrast

On white

7.64
#2F3CD7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#2F3CD7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3CD7
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3CD7#FFFFFF#000000##FFFFFF
##2F3CD71.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CDC
Deuteranopia (green-blind)
#004BD4
Tritanopia (blue-blind)
#006986
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2f3cd7;
/* rgb */ color: rgb(47, 60, 215);
/* oklch */ color: oklch(46.4% 0.231 269.9);
Tailwind
colors: {
  custom: {
    50: '#8473e5',
    500: '#2f3cd7',
    950: '#000000',
  },
}
SCSS
$custom: #2f3cd7;
$custom-light: #8473e5;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3cd7",
  "rgb": {
    "r": 47,
    "g": 60,
    "b": 215
  },
  "hsl": {
    "h": 235.357,
    "s": 67.742,
    "l": 51.373
  },
  "oklch": {
    "l": 0.46399,
    "c": 0.23111,
    "h": 269.9
  },
  "luminance": 0.08742
}

Semantic roles & 50–950 ramp

primary
#2F3CD7
secondary
#D6D08C
accent
#DD3DEB
background
#F9F7FE
surface
#F1EDFC
border
#CBC8D5
text
#0D0816
muted
#7E7B84

Preview Lab

Preview with #2F3CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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