#2F39C9#2F39C9

#2F39C9 is a dark, highly saturated blue. Relative luminance 0.077; OKLCH L 44.5% C 0.217 H 270.7°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#2F39C9
RGBrgb(47, 57, 201)
HSLhsl(236, 62%, 49%)
HSVhsv(236, 77%, 79%)
CMYKcmyk(76.6%, 71.6%, 0%, 21.2%)
CIE-LABlab(33.45, 45.62, -75.03)
CIE-LCHlch(33.45, 87.81, 301.30°)
OKLaboklab(44.53% 0.0026 -0.2172)
OKLCHoklch(44.53% 0.217 270.7)
XYZxyz(13.1744, 7.7462, 56.0478)
Luminance0.0775 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F39C9 #C9BF2F
analogous
#2F86C9 #2F39C9 #722FC9
triadic
#2F39C9 #C92F39 #39C92F
tetradic
#2F39C9 #C92F86 #C9BF2F #2FC972
square
#2F39C9 #C92F86 #C9BF2F #2FC972
split-complementary
#2F39C9 #C9722F #86C92F
monochromatic
#181D66 #232B97 #2F39C9 #5C64D9 #8E93E5

Accessibility & contrast

On white

8.24
#2F39C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#2F39C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F39C9
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F39C9#FFFFFF#000000##FFFFFF
##2F39C91.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056CD
Deuteranopia (green-blind)
#0047C6
Tritanopia (blue-blind)
#00627D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2f39c9;
/* rgb */ color: rgb(47, 57, 201);
/* oklch */ color: oklch(44.5% 0.217 270.7);
Tailwind
colors: {
  custom: {
    50: '#8170db',
    500: '#2f39c9',
    950: '#000000',
  },
}
SCSS
$custom: #2f39c9;
$custom-light: #8170db;
$custom-dark: #000000;
JSON
{
  "hex": "#2f39c9",
  "rgb": {
    "r": 47,
    "g": 57,
    "b": 201
  },
  "hsl": {
    "h": 236.104,
    "s": 62.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.44525,
    "c": 0.21726,
    "h": 270.7
  },
  "luminance": 0.07748
}

Semantic roles & 50–950 ramp

primary
#2F39C9
secondary
#CFCA85
accent
#DB43E5
background
#F8F6FD
surface
#F0ECFB
border
#CBC7D4
text
#0C0715
muted
#7D7A83

Preview Lab

Preview with #2F39C9

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

Preview Lab → · Contrast checker → · Palette generator →

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