#2A43AE#2A43AE

#2A43AE is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.4% C 0.173 H 268.1°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#2A43AE
RGBrgb(42, 67, 174)
HSLhsl(229, 61%, 42%)
HSVhsv(229, 76%, 68%)
CMYKcmyk(75.9%, 61.5%, 0%, 31.8%)
CIE-LABlab(33.05, 29.23, -59.78)
CIE-LCHlch(33.05, 66.54, 296.06°)
OKLaboklab(43.41% -0.0058 -0.1727)
OKLCHoklch(43.41% 0.173 268.1)
XYZxyz(10.5993, 7.5614, 40.9371)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A43AE #AE952A
analogous
#2A85AE #2A43AE #532AAE
triadic
#2A43AE #AE2A43 #43AE2A
tetradic
#2A43AE #AE2A85 #AE952A #2AAE53
square
#2A43AE #AE2A85 #AE952A #2AAE53
split-complementary
#2A43AE #AE532A #85AE2A
monochromatic
#121D4B #1E307D #2A43AE #435ED2 #7589DE

Accessibility & contrast

On white

8.36
#2A43AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#2A43AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A43AE
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A43AE#FFFFFF#000000##FFFFFF
##2A43AE1.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B2
Deuteranopia (green-blind)
#0048AC
Tritanopia (blue-blind)
#005E72
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2a43ae;
/* rgb */ color: rgb(42, 67, 174);
/* oklch */ color: oklch(43.4% 0.173 268.1);
Tailwind
colors: {
  custom: {
    50: '#7876c7',
    500: '#2a43ae',
    950: '#000000',
  },
}
SCSS
$custom: #2a43ae;
$custom-light: #7876c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2a43ae",
  "rgb": {
    "r": 42,
    "g": 67,
    "b": 174
  },
  "hsl": {
    "h": 228.636,
    "s": 61.111,
    "l": 42.353
  },
  "oklch": {
    "l": 0.43412,
    "c": 0.17282,
    "h": 268.1
  },
  "luminance": 0.07563
}

Semantic roles & 50–950 ramp

primary
#2A43AE
secondary
#C5B56F
accent
#C644E4
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2A43AE

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

Preview Lab → · Contrast checker → · Palette generator →

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