#2F24AC#2F24AC

#2F24AC is a dark, highly saturated blue. Relative luminance 0.048; OKLCH L 38.5% C 0.202 H 274.8°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#2F24AC
RGBrgb(47, 36, 172)
HSLhsl(245, 65%, 41%)
HSVhsv(245, 79%, 67%)
CMYKcmyk(72.7%, 79.1%, 0%, 32.5%)
CIE-LABlab(26.28, 47.70, -69.70)
CIE-LCHlch(26.28, 84.46, 304.39°)
OKLaboklab(38.54% 0.0171 -0.2016)
OKLCHoklch(38.54% 0.202 274.8)
XYZxyz(9.2471, 4.8437, 39.4693)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F24AC #A1AC24
analogous
#245DAC #2F24AC #7324AC
triadic
#2F24AC #AC2F24 #24AC2F
tetradic
#2F24AC #AC245D #A1AC24 #24AC73
square
#2F24AC #AC245D #A1AC24 #24AC73
split-complementary
#2F24AC #AC7324 #5DAC24
monochromatic
#130F47 #211979 #2F24AC #4538D5 #746AE0

Accessibility & contrast

On white

10.67
#2F24AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#2F24AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F24AC
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F24AC#FFFFFF#000000##FFFFFF
##2F24AC1.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044B0
Deuteranopia (green-blind)
#0038AA
Tritanopia (blue-blind)
#004D68
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2f24ac;
/* rgb */ color: rgb(47, 36, 172);
/* oklch */ color: oklch(38.5% 0.202 274.8);
Tailwind
colors: {
  custom: {
    50: '#7c62c6',
    500: '#2f24ac',
    950: '#000000',
  },
}
SCSS
$custom: #2f24ac;
$custom-light: #7c62c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2f24ac",
  "rgb": {
    "r": 47,
    "g": 36,
    "b": 172
  },
  "hsl": {
    "h": 244.853,
    "s": 65.385,
    "l": 40.784
  },
  "oklch": {
    "l": 0.38544,
    "c": 0.20228,
    "h": 274.8
  },
  "luminance": 0.04845
}

Semantic roles & 50–950 ramp

primary
#2F24AC
secondary
#BEC666
accent
#E83FDB
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2F24AC

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

Preview Lab → · Contrast checker → · Palette generator →

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