#2F24BD#2F24BD

#2F24BD is a dark, highly saturated blue. Relative luminance 0.055; OKLCH L 40.5% C 0.222 H 273.3°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#2F24BD
RGBrgb(47, 36, 189)
HSLhsl(244, 68%, 44%)
HSVhsv(244, 81%, 74%)
CMYKcmyk(75.1%, 81%, 0%, 25.9%)
CIE-LABlab(28.22, 52.96, -76.63)
CIE-LCHlch(28.22, 93.15, 304.65°)
OKLaboklab(40.45% 0.0129 -0.2217)
OKLCHoklch(40.45% 0.222 273.3)
XYZxyz(10.9854, 5.5391, 48.6244)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F24BD #B2BD24
analogous
#2466BD #2F24BD #7C24BD
triadic
#2F24BD #BD2F24 #24BD2F
tetradic
#2F24BD #BD2466 #B2BD24 #24BD7C
square
#2F24BD #BD2466 #B2BD24 #24BD7C
split-complementary
#2F24BD #BD7C24 #66BD24
monochromatic
#151056 #221A8A #2F24BD #4E43DB #7E76E5

Accessibility & contrast

On white

9.96
#2F24BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#2F24BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F24BD
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F24BD#FFFFFF#000000##FFFFFF
##2F24BD1.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AC1
Deuteranopia (green-blind)
#003BBA
Tritanopia (blue-blind)
#005472
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2f24bd;
/* rgb */ color: rgb(47, 36, 189);
/* oklch */ color: oklch(40.5% 0.222 273.3);
Tailwind
colors: {
  custom: {
    50: '#8063d2',
    500: '#2f24bd',
    950: '#000000',
  },
}
SCSS
$custom: #2f24bd;
$custom-light: #8063d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f24bd",
  "rgb": {
    "r": 47,
    "g": 36,
    "b": 189
  },
  "hsl": {
    "h": 244.314,
    "s": 68,
    "l": 44.118
  },
  "oklch": {
    "l": 0.40454,
    "c": 0.22206,
    "h": 273.3
  },
  "luminance": 0.0554
}

Semantic roles & 50–950 ramp

primary
#2F24BD
secondary
#C6CC70
accent
#EB3DDE
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #2F24BD

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

Preview Lab → · Contrast checker → · Palette generator →

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