#2F24A9#2F24A9

#2F24A9 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 38.2% C 0.199 H 275.1°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#2F24A9
RGBrgb(47, 36, 169)
HSLhsl(245, 65%, 40%)
HSVhsv(245, 79%, 66%)
CMYKcmyk(72.2%, 78.7%, 0%, 33.7%)
CIE-LABlab(25.95, 46.76, -68.44)
CIE-LCHlch(25.95, 82.89, 304.34°)
OKLaboklab(38.21% 0.0178 -0.1979)
OKLCHoklch(38.21% 0.199 275.1)
XYZxyz(8.9622, 4.7298, 37.9690)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F24A9 #9EA924
analogous
#245CA9 #2F24A9 #7124A9
triadic
#2F24A9 #A92F24 #24A92F
tetradic
#2F24A9 #A9245C #9EA924 #24A971
square
#2F24A9 #A9245C #9EA924 #24A971
split-complementary
#2F24A9 #A97124 #5CA924
monochromatic
#130F44 #211977 #2F24A9 #4336D4 #7268DF

Accessibility & contrast

On white

10.79
#2F24A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#2F24A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F24A9
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F24A9#FFFFFF#000000##FFFFFF
##2F24A91.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043AD
Deuteranopia (green-blind)
#0037A7
Tritanopia (blue-blind)
#004C66
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2f24a9;
/* rgb */ color: rgb(47, 36, 169);
/* oklch */ color: oklch(38.2% 0.199 275.1);
Tailwind
colors: {
  custom: {
    50: '#7b62c4',
    500: '#2f24a9',
    950: '#000000',
  },
}
SCSS
$custom: #2f24a9;
$custom-light: #7b62c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f24a9",
  "rgb": {
    "r": 47,
    "g": 36,
    "b": 169
  },
  "hsl": {
    "h": 244.962,
    "s": 64.878,
    "l": 40.196
  },
  "oklch": {
    "l": 0.38212,
    "c": 0.19872,
    "h": 275.1
  },
  "luminance": 0.04731
}

Semantic roles & 50–950 ramp

primary
#2F24A9
secondary
#BDC564
accent
#E840DA
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2F24A9

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

Preview Lab → · Contrast checker → · Palette generator →

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