#2F24C1#2F24C1

#2F24C1 is a dark, highly saturated blue. Relative luminance 0.057; OKLCH L 40.9% C 0.227 H 273.0°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#2F24C1
RGBrgb(47, 36, 193)
HSLhsl(244, 69%, 45%)
HSVhsv(244, 81%, 76%)
CMYKcmyk(75.6%, 81.3%, 0%, 24.3%)
CIE-LABlab(28.68, 54.17, -78.23)
CIE-LCHlch(28.68, 95.15, 304.70°)
OKLaboklab(40.91% 0.0119 -0.2263)
OKLCHoklch(40.91% 0.227 273)
XYZxyz(11.4256, 5.7151, 50.9427)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F24C1 #B6C124
analogous
#2467C1 #2F24C1 #7E24C1
triadic
#2F24C1 #C12F24 #24C12F
tetradic
#2F24C1 #C12467 #B6C124 #24C17E
square
#2F24C1 #C12467 #B6C124 #24C17E
split-complementary
#2F24C1 #C17E24 #67C124
monochromatic
#16115A #221A8D #2F24C1 #5046DC #8179E6

Accessibility & contrast

On white

9.80
#2F24C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#2F24C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F24C1
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F24C1#FFFFFF#000000##FFFFFF
##2F24C11.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BC5
Deuteranopia (green-blind)
#003CBE
Tritanopia (blue-blind)
#005674
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2f24c1;
/* rgb */ color: rgb(47, 36, 193);
/* oklch */ color: oklch(40.9% 0.227 273.0);
Tailwind
colors: {
  custom: {
    50: '#8164d5',
    500: '#2f24c1',
    950: '#000000',
  },
}
SCSS
$custom: #2f24c1;
$custom-light: #8164d5;
$custom-dark: #000000;
JSON
{
  "hex": "#2f24c1",
  "rgb": {
    "r": 47,
    "g": 36,
    "b": 193
  },
  "hsl": {
    "h": 244.204,
    "s": 68.559,
    "l": 44.902
  },
  "oklch": {
    "l": 0.40909,
    "c": 0.22661,
    "h": 273
  },
  "luminance": 0.05716
}

Semantic roles & 50–950 ramp

primary
#2F24C1
secondary
#C7CE73
accent
#EB3CDF
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #2F24C1

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

Preview Lab → · Contrast checker → · Palette generator →

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