#2D24B0#2D24B0

#2D24B0 is a dark, highly saturated blue. Relative luminance 0.050; OKLCH L 38.9% C 0.208 H 273.7°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#2D24B0
RGBrgb(45, 36, 176)
HSLhsl(244, 66%, 42%)
HSVhsv(244, 80%, 69%)
CMYKcmyk(74.4%, 79.5%, 0%, 31%)
CIE-LABlab(26.60, 48.80, -71.58)
CIE-LCHlch(26.60, 86.63, 304.28°)
OKLaboklab(38.86% 0.0135 -0.2071)
OKLCHoklch(38.86% 0.208 273.7)
XYZxyz(9.5469, 4.9533, 41.5188)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D24B0 #A7B024
analogous
#2461B0 #2D24B0 #7324B0
triadic
#2D24B0 #B02D24 #24B02D
tetradic
#2D24B0 #B02461 #A7B024 #24B073
square
#2D24B0 #B02461 #A7B024 #24B073
split-complementary
#2D24B0 #B07324 #61B024
monochromatic
#130F4A #201A7D #2D24B0 #443AD7 #756DE1

Accessibility & contrast

On white

10.55
#2D24B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#2D24B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D24B0
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D24B0#FFFFFF#000000##FFFFFF
##2D24B01.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B4
Deuteranopia (green-blind)
#0038AE
Tritanopia (blue-blind)
#004F6A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2d24b0;
/* rgb */ color: rgb(45, 36, 176);
/* oklch */ color: oklch(38.9% 0.208 273.7);
Tailwind
colors: {
  custom: {
    50: '#7c62c9',
    500: '#2d24b0',
    950: '#000000',
  },
}
SCSS
$custom: #2d24b0;
$custom-light: #7c62c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d24b0",
  "rgb": {
    "r": 45,
    "g": 36,
    "b": 176
  },
  "hsl": {
    "h": 243.857,
    "s": 66.038,
    "l": 41.569
  },
  "oklch": {
    "l": 0.38861,
    "c": 0.20751,
    "h": 273.7
  },
  "luminance": 0.04954
}

Semantic roles & 50–950 ramp

primary
#2D24B0
secondary
#C1C868
accent
#E93FDE
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2D24B0

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

Preview Lab → · Contrast checker → · Palette generator →

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