#2F24AA#2F24AA

#2F24AA is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.3% C 0.200 H 275.0°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#2F24AA
RGBrgb(47, 36, 170)
HSLhsl(245, 65%, 40%)
HSVhsv(245, 79%, 67%)
CMYKcmyk(72.4%, 78.8%, 0%, 33.3%)
CIE-LABlab(26.06, 47.07, -68.86)
CIE-LCHlch(26.06, 83.41, 304.35°)
OKLaboklab(38.32% 0.0176 -0.1991)
OKLCHoklch(38.32% 0.2 275)
XYZxyz(9.0565, 4.7675, 38.4653)
Luminance0.0477 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F24AA #9FAA24
analogous
#245CAA #2F24AA #7224AA
triadic
#2F24AA #AA2F24 #24AA2F
tetradic
#2F24AA #AA245C #9FAA24 #24AA72
square
#2F24AA #AA245C #9FAA24 #24AA72
split-complementary
#2F24AA #AA7224 #5CAA24
monochromatic
#130F45 #211977 #2F24AA #4437D5 #7369DF

Accessibility & contrast

On white

10.75
#2F24AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#2F24AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F24AA
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F24AA#FFFFFF#000000##FFFFFF
##2F24AA1.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AE
Deuteranopia (green-blind)
#0038A8
Tritanopia (blue-blind)
#004D67
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2f24aa;
/* rgb */ color: rgb(47, 36, 170);
/* oklch */ color: oklch(38.3% 0.200 275.0);
Tailwind
colors: {
  custom: {
    50: '#7b62c5',
    500: '#2f24aa',
    950: '#000000',
  },
}
SCSS
$custom: #2f24aa;
$custom-light: #7b62c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2f24aa",
  "rgb": {
    "r": 47,
    "g": 36,
    "b": 170
  },
  "hsl": {
    "h": 244.925,
    "s": 65.049,
    "l": 40.392
  },
  "oklch": {
    "l": 0.38323,
    "c": 0.19991,
    "h": 275
  },
  "luminance": 0.04768
}

Semantic roles & 50–950 ramp

primary
#2F24AA
secondary
#BDC565
accent
#E840DA
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2F24AA

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

Preview Lab → · Contrast checker → · Palette generator →

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