#2D24AA#2D24AA

#2D24AA is a dark, highly saturated blue. Relative luminance 0.047; OKLCH L 38.2% C 0.200 H 274.3°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#2D24AA
RGBrgb(45, 36, 170)
HSLhsl(244, 65%, 40%)
HSVhsv(244, 79%, 67%)
CMYKcmyk(73.5%, 78.8%, 0%, 33.3%)
CIE-LABlab(25.92, 46.90, -69.09)
CIE-LCHlch(25.92, 83.51, 304.17°)
OKLaboklab(38.19% 0.015 -0.1998)
OKLCHoklch(38.19% 0.2 274.3)
XYZxyz(8.9664, 4.7210, 38.4611)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D24AA #A1AA24
analogous
#245EAA #2D24AA #7024AA
triadic
#2D24AA #AA2D24 #24AA2D
tetradic
#2D24AA #AA245E #A1AA24 #24AA70
square
#2D24AA #AA245E #A1AA24 #24AA70
split-complementary
#2D24AA #AA7024 #5EAA24
monochromatic
#120F45 #201977 #2D24AA #4137D5 #7169DF

Accessibility & contrast

On white

10.80
#2D24AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#2D24AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D24AA
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D24AA#FFFFFF#000000##FFFFFF
##2D24AA1.0010.801.9410.80
#FFFFFF10.801.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043AE
Deuteranopia (green-blind)
#0037A8
Tritanopia (blue-blind)
#004D67
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2d24aa;
/* rgb */ color: rgb(45, 36, 170);
/* oklch */ color: oklch(38.2% 0.200 274.3);
Tailwind
colors: {
  custom: {
    50: '#7b62c5',
    500: '#2d24aa',
    950: '#000000',
  },
}
SCSS
$custom: #2d24aa;
$custom-light: #7b62c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d24aa",
  "rgb": {
    "r": 45,
    "g": 36,
    "b": 170
  },
  "hsl": {
    "h": 244.03,
    "s": 65.049,
    "l": 40.392
  },
  "oklch": {
    "l": 0.38191,
    "c": 0.20041,
    "h": 274.3
  },
  "luminance": 0.04722
}

Semantic roles & 50–950 ramp

primary
#2D24AA
secondary
#BFC565
accent
#E840DD
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2D24AA

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

Preview Lab → · Contrast checker → · Palette generator →

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