#2F24A3#2F24A3

#2F24A3 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.6% C 0.192 H 275.8°. Best body text is #FFFFFF at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#2F24A3
RGBrgb(47, 36, 163)
HSLhsl(245, 64%, 39%)
HSVhsv(245, 78%, 64%)
CMYKcmyk(71.2%, 77.9%, 0%, 36.1%)
CIE-LABlab(25.29, 44.85, -65.91)
CIE-LCHlch(25.29, 79.72, 304.24°)
OKLaboklab(37.55% 0.0193 -0.1905)
OKLCHoklch(37.55% 0.192 275.8)
XYZxyz(8.4119, 4.5096, 35.0704)
Luminance0.0451 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F24A3 #98A324
analogous
#2459A3 #2F24A3 #6F24A3
triadic
#2F24A3 #A32F24 #24A32F
tetradic
#2F24A3 #A32459 #98A324 #24A36F
square
#2F24A3 #A32459 #98A324 #24A36F
split-complementary
#2F24A3 #A36F24 #59A324
monochromatic
#120E3F #211971 #2F24A3 #4032D2 #6F65DD

Accessibility & contrast

On white

11.04
#2F24A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2F24A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F24A3
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F24A3#FFFFFF#000000##FFFFFF
##2F24A31.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A7
Deuteranopia (green-blind)
#0036A1
Tritanopia (blue-blind)
#004A63
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2f24a3;
/* rgb */ color: rgb(47, 36, 163);
/* oklch */ color: oklch(37.6% 0.192 275.8);
Tailwind
colors: {
  custom: {
    50: '#7a62c0',
    500: '#2f24a3',
    950: '#000000',
  },
}
SCSS
$custom: #2f24a3;
$custom-light: #7a62c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2f24a3",
  "rgb": {
    "r": 47,
    "g": 36,
    "b": 163
  },
  "hsl": {
    "h": 245.197,
    "s": 63.819,
    "l": 39.02
  },
  "oklch": {
    "l": 0.37554,
    "c": 0.19151,
    "h": 275.8
  },
  "luminance": 0.0451
}

Semantic roles & 50–950 ramp

primary
#2F24A3
secondary
#BAC260
accent
#E741D8
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #2F24A3

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

Preview Lab → · Contrast checker → · Palette generator →

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