#2A43AA#2A43AA

#2A43AA is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.1% C 0.167 H 268.0°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#2A43AA
RGBrgb(42, 67, 170)
HSLhsl(228, 60%, 42%)
HSVhsv(228, 75%, 67%)
CMYKcmyk(75.3%, 60.6%, 0%, 33.3%)
CIE-LABlab(32.72, 27.73, -57.94)
CIE-LCHlch(32.72, 64.23, 295.58°)
OKLaboklab(43.06% -0.0058 -0.1673)
OKLCHoklch(43.06% 0.167 268)
XYZxyz(10.2152, 7.4077, 38.9139)
Luminance0.0741 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A43AA #AA912A
analogous
#2A83AA #2A43AA #512AAA
triadic
#2A43AA #AA2A43 #43AA2A
tetradic
#2A43AA #AA2A83 #AA912A #2AAA51
square
#2A43AA #AA2A83 #AA912A #2AAA51
split-complementary
#2A43AA #AA512A #83AA2A
monochromatic
#121C48 #1E3079 #2A43AA #415DD0 #7287DC

Accessibility & contrast

On white

8.46
#2A43AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#2A43AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A43AA
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A43AA#FFFFFF#000000##FFFFFF
##2A43AA1.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AD
Deuteranopia (green-blind)
#0047A8
Tritanopia (blue-blind)
#005D70
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2a43aa;
/* rgb */ color: rgb(42, 67, 170);
/* oklch */ color: oklch(43.1% 0.167 268.0);
Tailwind
colors: {
  custom: {
    50: '#7776c4',
    500: '#2a43aa',
    950: '#000000',
  },
}
SCSS
$custom: #2a43aa;
$custom-light: #7776c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a43aa",
  "rgb": {
    "r": 42,
    "g": 67,
    "b": 170
  },
  "hsl": {
    "h": 228.281,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.43059,
    "c": 0.16742,
    "h": 268
  },
  "luminance": 0.07409
}

Semantic roles & 50–950 ramp

primary
#2A43AA
secondary
#C3B26C
accent
#C444E4
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2A43AA

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

Preview Lab → · Contrast checker → · Palette generator →

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