#2F39AE#2F39AE

#2F39AE is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.9% C 0.183 H 271.8°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#2F39AE
RGBrgb(47, 57, 174)
HSLhsl(235, 57%, 43%)
HSVhsv(235, 73%, 68%)
CMYKcmyk(73%, 67.2%, 0%, 31.8%)
CIE-LABlab(30.84, 36.26, -63.38)
CIE-LCHlch(30.84, 73.02, 299.77°)
OKLaboklab(41.86% 0.0057 -0.1833)
OKLCHoklch(41.86% 0.183 271.8)
XYZxyz(10.2728, 6.5855, 40.7659)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F39AE #AEA42F
analogous
#2F78AE #2F39AE #652FAE
triadic
#2F39AE #AE2F39 #39AE2F
tetradic
#2F39AE #AE2F78 #AEA42F #2FAE65
square
#2F39AE #AE2F78 #AEA42F #2FAE65
split-complementary
#2F39AE #AE652F #78AE2F
monochromatic
#15194E #22297E #2F39AE #4C56CF #7C83DC

Accessibility & contrast

On white

9.06
#2F39AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#2F39AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F39AE
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F39AE#FFFFFF#000000##FFFFFF
##2F39AE1.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB2
Deuteranopia (green-blind)
#0043AC
Tritanopia (blue-blind)
#00586E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2f39ae;
/* rgb */ color: rgb(47, 57, 174);
/* oklch */ color: oklch(41.9% 0.183 271.8);
Tailwind
colors: {
  custom: {
    50: '#7a70c7',
    500: '#2f39ae',
    950: '#000000',
  },
}
SCSS
$custom: #2f39ae;
$custom-light: #7a70c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2f39ae",
  "rgb": {
    "r": 47,
    "g": 57,
    "b": 174
  },
  "hsl": {
    "h": 235.276,
    "s": 57.466,
    "l": 43.333
  },
  "oklch": {
    "l": 0.41859,
    "c": 0.18335,
    "h": 271.8
  },
  "luminance": 0.06587
}

Semantic roles & 50–950 ramp

primary
#2F39AE
secondary
#C4BE75
accent
#D547E1
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2F39AE

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

Preview Lab → · Contrast checker → · Palette generator →

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