#2F39BF#2F39BF

#2F39BF is a dark, highly saturated blue. Relative luminance 0.073; OKLCH L 43.5% C 0.205 H 271.1°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#2F39BF
RGBrgb(47, 57, 191)
HSLhsl(236, 61%, 47%)
HSVhsv(236, 75%, 75%)
CMYKcmyk(75.4%, 70.2%, 0%, 25.1%)
CIE-LABlab(32.46, 42.20, -70.80)
CIE-LCHlch(32.46, 82.43, 300.80°)
OKLaboklab(43.52% 0.0039 -0.2049)
OKLCHoklch(43.52% 0.205 271.1)
XYZxyz(12.0362, 7.2909, 50.0531)
Luminance0.0729 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F39BF #BFB52F
analogous
#2F81BF #2F39BF #6D2FBF
triadic
#2F39BF #BF2F39 #39BF2F
tetradic
#2F39BF #BF2F81 #BFB52F #2FBF6D
square
#2F39BF #BF2F81 #BFB52F #2FBF6D
split-complementary
#2F39BF #BF6D2F #81BF2F
monochromatic
#171C5D #232A8E #2F39BF #565FD5 #878DE1

Accessibility & contrast

On white

8.54
#2F39BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#2F39BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F39BF
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F39BF#FFFFFF#000000##FFFFFF
##2F39BF1.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C3
Deuteranopia (green-blind)
#0045BD
Tritanopia (blue-blind)
#005E78
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2f39bf;
/* rgb */ color: rgb(47, 57, 191);
/* oklch */ color: oklch(43.5% 0.205 271.1);
Tailwind
colors: {
  custom: {
    50: '#7e70d4',
    500: '#2f39bf',
    950: '#000000',
  },
}
SCSS
$custom: #2f39bf;
$custom-light: #7e70d4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f39bf",
  "rgb": {
    "r": 47,
    "g": 57,
    "b": 191
  },
  "hsl": {
    "h": 235.833,
    "s": 60.504,
    "l": 46.667
  },
  "oklch": {
    "l": 0.43518,
    "c": 0.20497,
    "h": 271.1
  },
  "luminance": 0.07292
}

Semantic roles & 50–950 ramp

primary
#2F39BF
secondary
#CBC67F
accent
#D944E4
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #2F39BF

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

Preview Lab → · Contrast checker → · Palette generator →

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