#2F24AF#2F24AF

#2F24AF is a dark, highly saturated blue. Relative luminance 0.050; OKLCH L 38.9% C 0.206 H 274.6°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#2F24AF
RGBrgb(47, 36, 175)
HSLhsl(245, 66%, 41%)
HSVhsv(245, 79%, 69%)
CMYKcmyk(73.1%, 79.4%, 0%, 31.4%)
CIE-LABlab(26.62, 48.64, -70.94)
CIE-LCHlch(26.62, 86.02, 304.44°)
OKLaboklab(38.88% 0.0163 -0.2052)
OKLCHoklch(38.88% 0.206 274.6)
XYZxyz(9.5385, 4.9603, 41.0039)
Luminance0.0496 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F24AF #A4AF24
analogous
#245FAF #2F24AF #7524AF
triadic
#2F24AF #AF2F24 #24AF2F
tetradic
#2F24AF #AF245F #A4AF24 #24AF75
square
#2F24AF #AF245F #A4AF24 #24AF75
split-complementary
#2F24AF #AF7524 #5FAF24
monochromatic
#140F49 #211A7C #2F24AF #463AD6 #766DE1

Accessibility & contrast

On white

10.54
#2F24AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#2F24AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F24AF
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F24AF#FFFFFF#000000##FFFFFF
##2F24AF1.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B3
Deuteranopia (green-blind)
#0038AD
Tritanopia (blue-blind)
#004F69
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2f24af;
/* rgb */ color: rgb(47, 36, 175);
/* oklch */ color: oklch(38.9% 0.206 274.6);
Tailwind
colors: {
  custom: {
    50: '#7d62c8',
    500: '#2f24af',
    950: '#000000',
  },
}
SCSS
$custom: #2f24af;
$custom-light: #7d62c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f24af",
  "rgb": {
    "r": 47,
    "g": 36,
    "b": 175
  },
  "hsl": {
    "h": 244.748,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.38877,
    "c": 0.20583,
    "h": 274.6
  },
  "luminance": 0.04961
}

Semantic roles & 50–950 ramp

primary
#2F24AF
secondary
#C0C768
accent
#E93FDB
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2F24AF

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

Preview Lab → · Contrast checker → · Palette generator →

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