#2D24A2#2D24A2

#2D24A2 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.3% C 0.191 H 275.1°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#2D24A2
RGBrgb(45, 36, 162)
HSLhsl(244, 64%, 39%)
HSVhsv(244, 78%, 64%)
CMYKcmyk(72.2%, 77.8%, 0%, 36.5%)
CIE-LABlab(25.04, 44.34, -65.72)
CIE-LCHlch(25.04, 79.28, 304.01°)
OKLaboklab(37.31% 0.0168 -0.19)
OKLCHoklch(37.31% 0.191 275.1)
XYZxyz(8.2325, 4.4275, 34.5961)
Luminance0.0443 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D24A2 #99A224
analogous
#245AA2 #2D24A2 #6C24A2
triadic
#2D24A2 #A22D24 #24A22D
tetradic
#2D24A2 #A2245A #99A224 #24A26C
square
#2D24A2 #A2245A #99A224 #24A26C
split-complementary
#2D24A2 #A26C24 #5AA224
monochromatic
#110E3E #1F1970 #2D24A2 #3D32D1 #6C64DD

Accessibility & contrast

On white

11.14
#2D24A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#2D24A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D24A2
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D24A2#FFFFFF#000000##FFFFFF
##2D24A21.0011.141.8911.14
#FFFFFF11.141.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A6
Deuteranopia (green-blind)
#0036A0
Tritanopia (blue-blind)
#004A62
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2d24a2;
/* rgb */ color: rgb(45, 36, 162);
/* oklch */ color: oklch(37.3% 0.191 275.1);
Tailwind
colors: {
  custom: {
    50: '#7961bf',
    500: '#2d24a2',
    950: '#000000',
  },
}
SCSS
$custom: #2d24a2;
$custom-light: #7961bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2d24a2",
  "rgb": {
    "r": 45,
    "g": 36,
    "b": 162
  },
  "hsl": {
    "h": 244.286,
    "s": 63.636,
    "l": 38.824
  },
  "oklch": {
    "l": 0.37308,
    "c": 0.19079,
    "h": 275.1
  },
  "luminance": 0.04428
}

Semantic roles & 50–950 ramp

primary
#2D24A2
secondary
#BBC260
accent
#E741DB
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #2D24A2

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

Preview Lab → · Contrast checker → · Palette generator →

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