#2F39CF#2F39CF

#2F39CF is a mid, highly saturated blue. Relative luminance 0.080; OKLCH L 45.1% C 0.225 H 270.5°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#2F39CF
RGBrgb(47, 57, 207)
HSLhsl(236, 63%, 50%)
HSVhsv(236, 77%, 81%)
CMYKcmyk(77.3%, 72.5%, 0%, 18.8%)
CIE-LABlab(34.05, 47.64, -77.52)
CIE-LCHlch(34.05, 90.99, 301.57°)
OKLaboklab(45.14% 0.0018 -0.2245)
OKLCHoklch(45.14% 0.225 270.5)
XYZxyz(13.8941, 8.0340, 59.8378)
Luminance0.0804 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F39CF #CFC52F
analogous
#2F89CF #2F39CF #752FCF
triadic
#2F39CF #CF2F39 #39CF2F
tetradic
#2F39CF #CF2F89 #CFC52F #2FCF75
square
#2F39CF #CF2F89 #CFC52F #2FCF75
split-complementary
#2F39CF #CF752F #89CF2F
monochromatic
#181E6B #242B9D #2F39CF #6068DB #9297E6

Accessibility & contrast

On white

8.05
#2F39CF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#2F39CF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F39CF
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F39CF#FFFFFF#000000##FFFFFF
##2F39CF1.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058D3
Deuteranopia (green-blind)
#0048CC
Tritanopia (blue-blind)
#006481
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2f39cf;
/* rgb */ color: rgb(47, 57, 207);
/* oklch */ color: oklch(45.1% 0.225 270.5);
Tailwind
colors: {
  custom: {
    50: '#8271df',
    500: '#2f39cf',
    950: '#000000',
  },
}
SCSS
$custom: #2f39cf;
$custom-light: #8271df;
$custom-dark: #000000;
JSON
{
  "hex": "#2f39cf",
  "rgb": {
    "r": 47,
    "g": 57,
    "b": 207
  },
  "hsl": {
    "h": 236.25,
    "s": 62.992,
    "l": 49.804
  },
  "oklch": {
    "l": 0.45138,
    "c": 0.2245,
    "h": 270.5
  },
  "luminance": 0.08036
}

Semantic roles & 50–950 ramp

primary
#2F39CF
secondary
#D1CD89
accent
#DC42E6
background
#F8F6FD
surface
#F0ECFB
border
#CBC7D4
text
#0D0815
muted
#7D7B83

Preview Lab

Preview with #2F39CF

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

Preview Lab → · Contrast checker → · Palette generator →

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