#2A24A8#2A24A8

#2A24A8 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.8% C 0.199 H 273.3°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#2A24A8
RGBrgb(42, 36, 168)
HSLhsl(243, 65%, 40%)
HSVhsv(243, 79%, 66%)
CMYKcmyk(75%, 78.6%, 0%, 34.1%)
CIE-LABlab(25.50, 46.02, -68.59)
CIE-LCHlch(25.50, 82.60, 303.86°)
OKLaboklab(37.78% 0.0116 -0.1985)
OKLCHoklch(37.78% 0.199 273.3)
XYZxyz(8.6512, 4.5803, 37.4663)
Luminance0.0458 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A24A8 #A2A824
analogous
#2460A8 #2A24A8 #6C24A8
triadic
#2A24A8 #A82A24 #24A82A
tetradic
#2A24A8 #A82460 #A2A824 #24A86C
square
#2A24A8 #A82460 #A2A824 #24A86C
split-complementary
#2A24A8 #A86C24 #60A824
monochromatic
#110E43 #1D1976 #2A24A8 #3D35D4 #6D68DF

Accessibility & contrast

On white

10.96
#2A24A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#2A24A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A24A8
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A24A8#FFFFFF#000000##FFFFFF
##2A24A81.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a24a8;
/* rgb */ color: rgb(42, 36, 168);
/* oklch */ color: oklch(37.8% 0.199 273.3);
Tailwind
colors: {
  custom: {
    50: '#7962c3',
    500: '#2a24a8',
    950: '#000000',
  },
}
SCSS
$custom: #2a24a8;
$custom-light: #7962c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2a24a8",
  "rgb": {
    "r": 42,
    "g": 36,
    "b": 168
  },
  "hsl": {
    "h": 242.727,
    "s": 64.706,
    "l": 40
  },
  "oklch": {
    "l": 0.37778,
    "c": 0.1988,
    "h": 273.3
  },
  "luminance": 0.04581
}

Semantic roles & 50–950 ramp

primary
#2A24A8
secondary
#C0C463
accent
#E840E0
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2A24A8

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

Preview Lab → · Contrast checker → · Palette generator →

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