#2F24B1#2F24B1

#2F24B1 is a dark, highly saturated blue. Relative luminance 0.050; OKLCH L 39.1% C 0.208 H 274.4°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#2F24B1
RGBrgb(47, 36, 177)
HSLhsl(245, 66%, 42%)
HSVhsv(245, 80%, 69%)
CMYKcmyk(73.4%, 79.7%, 0%, 30.6%)
CIE-LABlab(26.85, 49.27, -71.77)
CIE-LCHlch(26.85, 87.05, 304.47°)
OKLaboklab(39.1% 0.0159 -0.2076)
OKLCHoklch(39.1% 0.208 274.4)
XYZxyz(9.7363, 5.0394, 42.0460)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F24B1 #A6B124
analogous
#2460B1 #2F24B1 #7624B1
triadic
#2F24B1 #B12F24 #24B12F
tetradic
#2F24B1 #B12460 #A6B124 #24B176
square
#2F24B1 #B12460 #A6B124 #24B176
split-complementary
#2F24B1 #B17624 #60B124
monochromatic
#140F4B #211A7E #2F24B1 #473BD7 #776EE1

Accessibility & contrast

On white

10.46
#2F24B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#2F24B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F24B1
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F24B1#FFFFFF#000000##FFFFFF
##2F24B11.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B5
Deuteranopia (green-blind)
#0039AF
Tritanopia (blue-blind)
#004F6B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2f24b1;
/* rgb */ color: rgb(47, 36, 177);
/* oklch */ color: oklch(39.1% 0.208 274.4);
Tailwind
colors: {
  custom: {
    50: '#7d62ca',
    500: '#2f24b1',
    950: '#000000',
  },
}
SCSS
$custom: #2f24b1;
$custom-light: #7d62ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2f24b1",
  "rgb": {
    "r": 47,
    "g": 36,
    "b": 177
  },
  "hsl": {
    "h": 244.681,
    "s": 66.197,
    "l": 41.765
  },
  "oklch": {
    "l": 0.39101,
    "c": 0.20817,
    "h": 274.4
  },
  "luminance": 0.0504
}

Semantic roles & 50–950 ramp

primary
#2F24B1
secondary
#C1C869
accent
#E93FDC
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2F24B1

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

Preview Lab → · Contrast checker → · Palette generator →

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