#2F24B4#2F24B4

#2F24B4 is a dark, highly saturated blue. Relative luminance 0.052; OKLCH L 39.4% C 0.212 H 274.1°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#2F24B4
RGBrgb(47, 36, 180)
HSLhsl(245, 67%, 42%)
HSVhsv(245, 80%, 71%)
CMYKcmyk(73.9%, 80%, 0%, 29.4%)
CIE-LABlab(27.19, 50.20, -73.00)
CIE-LCHlch(27.19, 88.59, 304.51°)
OKLaboklab(39.44% 0.0151 -0.2111)
OKLCHoklch(39.44% 0.212 274.1)
XYZxyz(10.0387, 5.1604, 43.6382)
Luminance0.0516 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F24B4 #A9B424
analogous
#2461B4 #2F24B4 #7724B4
triadic
#2F24B4 #B42F24 #24B42F
tetradic
#2F24B4 #B42461 #A9B424 #24B477
square
#2F24B4 #B42461 #A9B424 #24B477
split-complementary
#2F24B4 #B47724 #61B424
monochromatic
#14104E #221A81 #2F24B4 #493DD8 #7970E2

Accessibility & contrast

On white

10.33
#2F24B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#2F24B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F24B4
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F24B4#FFFFFF#000000##FFFFFF
##2F24B41.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B8
Deuteranopia (green-blind)
#0039B2
Tritanopia (blue-blind)
#00516C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2f24b4;
/* rgb */ color: rgb(47, 36, 180);
/* oklch */ color: oklch(39.4% 0.212 274.1);
Tailwind
colors: {
  custom: {
    50: '#7e63cc',
    500: '#2f24b4',
    950: '#000000',
  },
}
SCSS
$custom: #2f24b4;
$custom-light: #7e63cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2f24b4",
  "rgb": {
    "r": 47,
    "g": 36,
    "b": 180
  },
  "hsl": {
    "h": 244.583,
    "s": 66.667,
    "l": 42.353
  },
  "oklch": {
    "l": 0.39437,
    "c": 0.21168,
    "h": 274.1
  },
  "luminance": 0.05161
}

Semantic roles & 50–950 ramp

primary
#2F24B4
secondary
#C2C96B
accent
#EA3EDC
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0514
muted
#7D7A82

Preview Lab

Preview with #2F24B4

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

Preview Lab → · Contrast checker → · Palette generator →

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