#2A24AF#2A24AF

#2A24AF is a dark, highly saturated blue. Relative luminance 0.048; OKLCH L 38.6% C 0.207 H 272.8°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#2A24AF
RGBrgb(42, 36, 175)
HSLhsl(243, 66%, 41%)
HSVhsv(243, 79%, 69%)
CMYKcmyk(76%, 79.4%, 0%, 31.4%)
CIE-LABlab(26.30, 48.26, -71.49)
CIE-LCHlch(26.30, 86.25, 304.02°)
OKLaboklab(38.57% 0.01 -0.2069)
OKLCHoklch(38.57% 0.207 272.8)
XYZxyz(9.3210, 4.8482, 40.9937)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A24AF #A9AF24
analogous
#2464AF #2A24AF #7024AF
triadic
#2A24AF #AF2A24 #24AF2A
tetradic
#2A24AF #AF2464 #A9AF24 #24AF70
square
#2A24AF #AF2464 #A9AF24 #24AF70
split-complementary
#2A24AF #AF7024 #64AF24
monochromatic
#120F49 #1E1A7C #2A24AF #413AD6 #726DE1

Accessibility & contrast

On white

10.66
#2A24AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#2A24AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A24AF
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A24AF#FFFFFF#000000##FFFFFF
##2A24AF1.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B3
Deuteranopia (green-blind)
#0037AD
Tritanopia (blue-blind)
#004F69
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2a24af;
/* rgb */ color: rgb(42, 36, 175);
/* oklch */ color: oklch(38.6% 0.207 272.8);
Tailwind
colors: {
  custom: {
    50: '#7b62c8',
    500: '#2a24af',
    950: '#000000',
  },
}
SCSS
$custom: #2a24af;
$custom-light: #7b62c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a24af",
  "rgb": {
    "r": 42,
    "g": 36,
    "b": 175
  },
  "hsl": {
    "h": 242.59,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.38566,
    "c": 0.20711,
    "h": 272.8
  },
  "luminance": 0.04849
}

Semantic roles & 50–950 ramp

primary
#2A24AF
secondary
#C3C768
accent
#E93FE1
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2A24AF

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

Preview Lab → · Contrast checker → · Palette generator →

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