#2F39BE#2F39BE

#2F39BE is a dark, highly saturated blue. Relative luminance 0.072; OKLCH L 43.4% C 0.204 H 271.1°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#2F39BE
RGBrgb(47, 57, 190)
HSLhsl(236, 60%, 46%)
HSVhsv(236, 75%, 75%)
CMYKcmyk(75.3%, 70%, 0%, 25.5%)
CIE-LABlab(32.36, 41.86, -70.37)
CIE-LCHlch(32.36, 81.88, 300.74°)
OKLaboklab(43.42% 0.004 -0.2037)
OKLCHoklch(43.42% 0.204 271.1)
XYZxyz(11.9265, 7.2470, 49.4755)
Luminance0.0725 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F39BE #BEB42F
analogous
#2F81BE #2F39BE #6D2FBE
triadic
#2F39BE #BE2F39 #39BE2F
tetradic
#2F39BE #BE2F81 #BEB42F #2FBE6D
square
#2F39BE #BE2F81 #BEB42F #2FBE6D
split-complementary
#2F39BE #BE6D2F #81BE2F
monochromatic
#171C5C #232A8D #2F39BE #555ED5 #868DE1

Accessibility & contrast

On white

8.57
#2F39BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#2F39BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F39BE
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F39BE#FFFFFF#000000##FFFFFF
##2F39BE1.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C2
Deuteranopia (green-blind)
#0045BC
Tritanopia (blue-blind)
#005E77
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2f39be;
/* rgb */ color: rgb(47, 57, 190);
/* oklch */ color: oklch(43.4% 0.204 271.1);
Tailwind
colors: {
  custom: {
    50: '#7e70d3',
    500: '#2f39be',
    950: '#000000',
  },
}
SCSS
$custom: #2f39be;
$custom-light: #7e70d3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f39be",
  "rgb": {
    "r": 47,
    "g": 57,
    "b": 190
  },
  "hsl": {
    "h": 235.804,
    "s": 60.338,
    "l": 46.471
  },
  "oklch": {
    "l": 0.43418,
    "c": 0.20372,
    "h": 271.1
  },
  "luminance": 0.07248
}

Semantic roles & 50–950 ramp

primary
#2F39BE
secondary
#CBC57E
accent
#D844E3
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #2F39BE

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

Preview Lab → · Contrast checker → · Palette generator →

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