#2F24D9#2F24D9

#2F24D9 is a dark, highly saturated blue. Relative luminance 0.069; OKLCH L 43.7% C 0.253 H 271.4°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#2F24D9
RGBrgb(47, 36, 217)
HSLhsl(244, 72%, 50%)
HSVhsv(244, 83%, 85%)
CMYKcmyk(78.3%, 83.4%, 0%, 14.9%)
CIE-LABlab(31.52, 61.25, -87.51)
CIE-LCHlch(31.52, 106.81, 304.99°)
OKLaboklab(43.68% 0.0061 -0.2532)
OKLCHoklch(43.68% 0.253 271.4)
XYZxyz(14.3233, 6.8742, 66.2042)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F24D9 #CED924
analogous
#2474D9 #2F24D9 #8924D9
triadic
#2F24D9 #D92F24 #24D92F
tetradic
#2F24D9 #D92474 #CED924 #24D989
square
#2F24D9 #D92474 #CED924 #24D989
split-complementary
#2F24D9 #D98924 #74D924
monochromatic
#181370 #241BA5 #2F24D9 #6057E3 #918CEC

Accessibility & contrast

On white

8.84
#2F24D9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#2F24D9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F24D9
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F24D9#FFFFFF#000000##FFFFFF
##2F24D91.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053DE
Deuteranopia (green-blind)
#0041D6
Tritanopia (blue-blind)
#006082
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2f24d9;
/* rgb */ color: rgb(47, 36, 217);
/* oklch */ color: oklch(43.7% 0.253 271.4);
Tailwind
colors: {
  custom: {
    50: '#8665e6',
    500: '#2f24d9',
    950: '#000000',
  },
}
SCSS
$custom: #2f24d9;
$custom-light: #8665e6;
$custom-dark: #000000;
JSON
{
  "hex": "#2f24d9",
  "rgb": {
    "r": 47,
    "g": 36,
    "b": 217
  },
  "hsl": {
    "h": 243.646,
    "s": 71.542,
    "l": 49.608
  },
  "oklch": {
    "l": 0.43681,
    "c": 0.25324,
    "h": 271.4
  },
  "luminance": 0.06876
}

Semantic roles & 50–950 ramp

primary
#2F24D9
secondary
#D1D683
accent
#EE3AE3
background
#F9F6FE
surface
#F2EBFD
border
#CCC6D5
text
#0E0616
muted
#7E7A84

Preview Lab

Preview with #2F24D9

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

Preview Lab → · Contrast checker → · Palette generator →

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