#2024BD#2024BD

#2024BD is a dark, highly saturated blue. Relative luminance 0.052; OKLCH L 39.7% C 0.226 H 269.0°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#2024BD
RGBrgb(32, 36, 189)
HSLhsl(238, 71%, 43%)
HSVhsv(238, 83%, 74%)
CMYKcmyk(83.1%, 81%, 0%, 25.9%)
CIE-LABlab(27.41, 52.09, -77.99)
CIE-LCHlch(27.41, 93.79, 303.74°)
OKLaboklab(39.67% -0.0038 -0.2259)
OKLCHoklch(39.67% 0.226 269)
XYZxyz(10.4087, 5.2417, 48.5974)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2024BD #BDB920
analogous
#2073BD #2024BD #6A20BD
triadic
#2024BD #BD2024 #24BD20
tetradic
#2024BD #BD2073 #BDB920 #20BD6A
square
#2024BD #BD2073 #BDB920 #20BD6A
split-complementary
#2024BD #BD6A20 #73BD20
monochromatic
#0E1054 #171A89 #2024BD #3C40DE #7174E7

Accessibility & contrast

On white

10.25
#2024BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#2024BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2024BD
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2024BD#FFFFFF#000000##FFFFFF
##2024BD1.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049C1
Deuteranopia (green-blind)
#0038BA
Tritanopia (blue-blind)
#005572
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2024bd;
/* rgb */ color: rgb(32, 36, 189);
/* oklch */ color: oklch(39.7% 0.226 269.0);
Tailwind
colors: {
  custom: {
    50: '#7b63d2',
    500: '#2024bd',
    950: '#000000',
  },
}
SCSS
$custom: #2024bd;
$custom-light: #7b63d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2024bd",
  "rgb": {
    "r": 32,
    "g": 36,
    "b": 189
  },
  "hsl": {
    "h": 238.471,
    "s": 71.041,
    "l": 43.333
  },
  "oklch": {
    "l": 0.39675,
    "c": 0.22591,
    "h": 269
  },
  "luminance": 0.05243
}

Semantic roles & 50–950 ramp

primary
#2024BD
secondary
#CDCB6B
accent
#E93AEE
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0514
muted
#7D7A83

Preview Lab

Preview with #2024BD

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

Preview Lab → · Contrast checker → · Palette generator →

#2024BD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva