#2A43A2#2A43A2

#2A43A2 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.4% C 0.156 H 267.8°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#2A43A2
RGBrgb(42, 67, 162)
HSLhsl(228, 59%, 40%)
HSVhsv(228, 74%, 64%)
CMYKcmyk(74.1%, 58.6%, 0%, 36.5%)
CIE-LABlab(32.07, 24.71, -54.20)
CIE-LCHlch(32.07, 59.56, 294.51°)
OKLaboklab(42.37% -0.0059 -0.1563)
OKLCHoklch(42.37% 0.156 267.8)
XYZxyz(9.4813, 7.1142, 35.0489)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A43A2 #A2892A
analogous
#2A7FA2 #2A43A2 #4D2AA2
triadic
#2A43A2 #A22A43 #43A22A
tetradic
#2A43A2 #A22A7F #A2892A #2AA24D
square
#2A43A2 #A22A7F #A2892A #2AA24D
split-complementary
#2A43A2 #A24D2A #7FA22A
monochromatic
#111B41 #1D2F71 #2A43A2 #3D5BCD #6D84D9

Accessibility & contrast

On white

8.67
#2A43A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#2A43A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A43A2
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A43A2#FFFFFF#000000##FFFFFF
##2A43A21.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A5
Deuteranopia (green-blind)
#0046A0
Tritanopia (blue-blind)
#005B6C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2a43a2;
/* rgb */ color: rgb(42, 67, 162);
/* oklch */ color: oklch(42.4% 0.156 267.8);
Tailwind
colors: {
  custom: {
    50: '#7576be',
    500: '#2a43a2',
    950: '#000000',
  },
}
SCSS
$custom: #2a43a2;
$custom-light: #7576be;
$custom-dark: #000000;
JSON
{
  "hex": "#2a43a2",
  "rgb": {
    "r": 42,
    "g": 67,
    "b": 162
  },
  "hsl": {
    "h": 227.5,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.42369,
    "c": 0.15645,
    "h": 267.8
  },
  "luminance": 0.07115
}

Semantic roles & 50–950 ramp

primary
#2A43A2
secondary
#C0AE68
accent
#C146E2
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2A43A2

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

Preview Lab → · Contrast checker → · Palette generator →

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