#2A43B1#2A43B1

#2A43B1 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.7% C 0.177 H 268.1°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#2A43B1
RGBrgb(42, 67, 177)
HSLhsl(229, 62%, 43%)
HSVhsv(229, 76%, 69%)
CMYKcmyk(76.3%, 62.1%, 0%, 30.6%)
CIE-LABlab(33.31, 30.36, -61.15)
CIE-LCHlch(33.31, 68.27, 296.40°)
OKLaboklab(43.68% -0.0058 -0.1767)
OKLCHoklch(43.68% 0.177 268.1)
XYZxyz(10.8951, 7.6797, 42.4946)
Luminance0.0768 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A43B1 #B1982A
analogous
#2A86B1 #2A43B1 #542AB1
triadic
#2A43B1 #B12A43 #43B12A
tetradic
#2A43B1 #B12A86 #B1982A #2AB154
square
#2A43B1 #B12A86 #B1982A #2AB154
split-complementary
#2A43B1 #B1542A #86B12A
monochromatic
#131E4E #1E3080 #2A43B1 #4560D3 #778ADF

Accessibility & contrast

On white

8.28
#2A43B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#2A43B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A43B1
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A43B1#FFFFFF#000000##FFFFFF
##2A43B11.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B5
Deuteranopia (green-blind)
#0048AF
Tritanopia (blue-blind)
#005F73
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2a43b1;
/* rgb */ color: rgb(42, 67, 177);
/* oklch */ color: oklch(43.7% 0.177 268.1);
Tailwind
colors: {
  custom: {
    50: '#7877c9',
    500: '#2a43b1',
    950: '#000000',
  },
}
SCSS
$custom: #2a43b1;
$custom-light: #7877c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a43b1",
  "rgb": {
    "r": 42,
    "g": 67,
    "b": 177
  },
  "hsl": {
    "h": 228.889,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.43679,
    "c": 0.17683,
    "h": 268.1
  },
  "luminance": 0.07681
}

Semantic roles & 50–950 ramp

primary
#2A43B1
secondary
#C6B670
accent
#C743E5
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2A43B1

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

Preview Lab → · Contrast checker → · Palette generator →

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