#2D24A0#2D24A0

#2D24A0 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.1% C 0.188 H 275.3°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#2D24A0
RGBrgb(45, 36, 160)
HSLhsl(244, 63%, 38%)
HSVhsv(244, 78%, 63%)
CMYKcmyk(71.9%, 77.5%, 0%, 37.3%)
CIE-LABlab(24.82, 43.69, -64.87)
CIE-LCHlch(24.82, 78.21, 303.96°)
OKLaboklab(37.09% 0.0173 -0.1876)
OKLCHoklch(37.09% 0.188 275.3)
XYZxyz(8.0561, 4.3569, 33.6673)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D24A0 #97A024
analogous
#2459A0 #2D24A0 #6B24A0
triadic
#2D24A0 #A02D24 #24A02D
tetradic
#2D24A0 #A02459 #97A024 #24A06B
square
#2D24A0 #A02459 #97A024 #24A06B
split-complementary
#2D24A0 #A06B24 #59A024
monochromatic
#110E3C #1F196E #2D24A0 #3C31D1 #6B63DC

Accessibility & contrast

On white

11.22
#2D24A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2D24A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D24A0
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D24A0#FFFFFF#000000##FFFFFF
##2D24A01.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A4
Deuteranopia (green-blind)
#00359E
Tritanopia (blue-blind)
#004961
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2d24a0;
/* rgb */ color: rgb(45, 36, 160);
/* oklch */ color: oklch(37.1% 0.188 275.3);
Tailwind
colors: {
  custom: {
    50: '#7861bd',
    500: '#2d24a0',
    950: '#000000',
  },
}
SCSS
$custom: #2d24a0;
$custom-light: #7861bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2d24a0",
  "rgb": {
    "r": 45,
    "g": 36,
    "b": 160
  },
  "hsl": {
    "h": 244.355,
    "s": 63.265,
    "l": 38.431
  },
  "oklch": {
    "l": 0.37089,
    "c": 0.18836,
    "h": 275.3
  },
  "luminance": 0.04358
}

Semantic roles & 50–950 ramp

primary
#2D24A0
secondary
#BAC15F
accent
#E641DA
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2D24A0

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

Preview Lab → · Contrast checker → · Palette generator →

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