#2D24A8#2D24A8

#2D24A8 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 38.0% C 0.198 H 274.5°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#2D24A8
RGBrgb(45, 36, 168)
HSLhsl(244, 65%, 40%)
HSVhsv(244, 79%, 66%)
CMYKcmyk(73.2%, 78.6%, 0%, 34.1%)
CIE-LABlab(25.70, 46.27, -68.26)
CIE-LCHlch(25.70, 82.46, 304.13°)
OKLaboklab(37.97% 0.0154 -0.1974)
OKLCHoklch(37.97% 0.198 274.5)
XYZxyz(8.7786, 4.6459, 37.4723)
Luminance0.0465 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D24A8 #9FA824
analogous
#245DA8 #2D24A8 #6F24A8
triadic
#2D24A8 #A82D24 #24A82D
tetradic
#2D24A8 #A8245D #9FA824 #24A86F
square
#2D24A8 #A8245D #9FA824 #24A86F
split-complementary
#2D24A8 #A86F24 #5DA824
monochromatic
#120E43 #201976 #2D24A8 #4035D4 #7068DF

Accessibility & contrast

On white

10.88
#2D24A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#2D24A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D24A8
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D24A8#FFFFFF#000000##FFFFFF
##2D24A81.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043AC
Deuteranopia (green-blind)
#0037A6
Tritanopia (blue-blind)
#004C65
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2d24a8;
/* rgb */ color: rgb(45, 36, 168);
/* oklch */ color: oklch(38.0% 0.198 274.5);
Tailwind
colors: {
  custom: {
    50: '#7a62c3',
    500: '#2d24a8',
    950: '#000000',
  },
}
SCSS
$custom: #2d24a8;
$custom-light: #7a62c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2d24a8",
  "rgb": {
    "r": 45,
    "g": 36,
    "b": 168
  },
  "hsl": {
    "h": 244.091,
    "s": 64.706,
    "l": 40
  },
  "oklch": {
    "l": 0.37969,
    "c": 0.19802,
    "h": 274.5
  },
  "luminance": 0.04647
}

Semantic roles & 50–950 ramp

primary
#2D24A8
secondary
#BEC463
accent
#E840DC
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2D24A8

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

Preview Lab → · Contrast checker → · Palette generator →

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