#2F24AE#2F24AE

#2F24AE is a dark, highly saturated blue. Relative luminance 0.049; OKLCH L 38.8% C 0.205 H 274.6°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#2F24AE
RGBrgb(47, 36, 174)
HSLhsl(245, 66%, 41%)
HSVhsv(245, 79%, 68%)
CMYKcmyk(73%, 79.3%, 0%, 31.8%)
CIE-LABlab(26.51, 48.33, -70.53)
CIE-LCHlch(26.51, 85.50, 304.42°)
OKLaboklab(38.77% 0.0166 -0.204)
OKLCHoklch(38.77% 0.205 274.6)
XYZxyz(9.4406, 4.9211, 40.4885)
Luminance0.0492 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F24AE #A3AE24
analogous
#245EAE #2F24AE #7424AE
triadic
#2F24AE #AE2F24 #24AE2F
tetradic
#2F24AE #AE245E #A3AE24 #24AE74
square
#2F24AE #AE245E #A3AE24 #24AE74
split-complementary
#2F24AE #AE7424 #5EAE24
monochromatic
#140F49 #211A7B #2F24AE #4639D6 #756CE1

Accessibility & contrast

On white

10.58
#2F24AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#2F24AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F24AE
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F24AE#FFFFFF#000000##FFFFFF
##2F24AE1.0010.581.9810.58
#FFFFFF10.581.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B2
Deuteranopia (green-blind)
#0038AC
Tritanopia (blue-blind)
#004E69
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2f24ae;
/* rgb */ color: rgb(47, 36, 174);
/* oklch */ color: oklch(38.8% 0.205 274.6);
Tailwind
colors: {
  custom: {
    50: '#7c62c8',
    500: '#2f24ae',
    950: '#000000',
  },
}
SCSS
$custom: #2f24ae;
$custom-light: #7c62c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f24ae",
  "rgb": {
    "r": 47,
    "g": 36,
    "b": 174
  },
  "hsl": {
    "h": 244.783,
    "s": 65.714,
    "l": 41.176
  },
  "oklch": {
    "l": 0.38766,
    "c": 0.20465,
    "h": 274.6
  },
  "luminance": 0.04922
}

Semantic roles & 50–950 ramp

primary
#2F24AE
secondary
#BFC767
accent
#E93FDB
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2F24AE

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

Preview Lab → · Contrast checker → · Palette generator →

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