#2024B1#2024B1

#2024B1 is a dark, highly saturated blue. Relative luminance 0.047; OKLCH L 38.3% C 0.212 H 269.6°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#2024B1
RGBrgb(32, 36, 177)
HSLhsl(238, 69%, 41%)
HSVhsv(238, 82%, 69%)
CMYKcmyk(81.9%, 79.7%, 0%, 30.6%)
CIE-LABlab(25.99, 48.26, -73.22)
CIE-LCHlch(25.99, 87.69, 303.39°)
OKLaboklab(38.27% -0.0016 -0.2121)
OKLCHoklch(38.27% 0.212 269.6)
XYZxyz(9.1596, 4.7421, 42.0190)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2024B1 #B1AD20
analogous
#206CB1 #2024B1 #6420B1
triadic
#2024B1 #B12024 #24B120
tetradic
#2024B1 #B1206C #B1AD20 #20B164
square
#2024B1 #B1206C #B1AD20 #20B164
split-complementary
#2024B1 #B16420 #6CB120
monochromatic
#0D0F49 #17197D #2024B1 #3439DA #686BE4

Accessibility & contrast

On white

10.78
#2024B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#2024B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2024B1
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2024B1#FFFFFF#000000##FFFFFF
##2024B11.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B5
Deuteranopia (green-blind)
#0036AF
Tritanopia (blue-blind)
#00506B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2024b1;
/* rgb */ color: rgb(32, 36, 177);
/* oklch */ color: oklch(38.3% 0.212 269.6);
Tailwind
colors: {
  custom: {
    50: '#7862ca',
    500: '#2024b1',
    950: '#000000',
  },
}
SCSS
$custom: #2024b1;
$custom-light: #7862ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2024b1",
  "rgb": {
    "r": 32,
    "g": 36,
    "b": 177
  },
  "hsl": {
    "h": 238.345,
    "s": 69.378,
    "l": 40.98
  },
  "oklch": {
    "l": 0.38269,
    "c": 0.21207,
    "h": 269.6
  },
  "luminance": 0.04743
}

Semantic roles & 50–950 ramp

primary
#2024B1
secondary
#C9C664
accent
#E73CEC
background
#F8F5FC
surface
#EFEAF9
border
#CAC6D2
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2024B1

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

Preview Lab → · Contrast checker → · Palette generator →

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