#2A43A4#2A43A4

#2A43A4 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.5% C 0.159 H 267.9°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#2A43A4
RGBrgb(42, 67, 164)
HSLhsl(228, 59%, 40%)
HSVhsv(228, 74%, 64%)
CMYKcmyk(74.4%, 59.1%, 0%, 35.7%)
CIE-LABlab(32.23, 25.47, -55.14)
CIE-LCHlch(32.23, 60.74, 294.79°)
OKLaboklab(42.54% -0.0059 -0.1591)
OKLCHoklch(42.54% 0.159 267.9)
XYZxyz(9.6605, 7.1859, 35.9926)
Luminance0.0719 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A43A4 #A48B2A
analogous
#2A80A4 #2A43A4 #4E2AA4
triadic
#2A43A4 #A42A43 #43A42A
tetradic
#2A43A4 #A42A80 #A48B2A #2AA44E
square
#2A43A4 #A42A80 #A48B2A #2AA44E
split-complementary
#2A43A4 #A44E2A #80A42A
monochromatic
#111B43 #1E2F73 #2A43A4 #3E5BCD #6E84DA

Accessibility & contrast

On white

8.62
#2A43A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#2A43A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A43A4
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A43A4#FFFFFF#000000##FFFFFF
##2A43A41.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A7
Deuteranopia (green-blind)
#0046A2
Tritanopia (blue-blind)
#005B6D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2a43a4;
/* rgb */ color: rgb(42, 67, 164);
/* oklch */ color: oklch(42.5% 0.159 267.9);
Tailwind
colors: {
  custom: {
    50: '#7576c0',
    500: '#2a43a4',
    950: '#000000',
  },
}
SCSS
$custom: #2a43a4;
$custom-light: #7576c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2a43a4",
  "rgb": {
    "r": 42,
    "g": 67,
    "b": 164
  },
  "hsl": {
    "h": 227.705,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.4254,
    "c": 0.15922,
    "h": 267.9
  },
  "luminance": 0.07187
}

Semantic roles & 50–950 ramp

primary
#2A43A4
secondary
#C1AF69
accent
#C245E2
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2A43A4

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

Preview Lab → · Contrast checker → · Palette generator →

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