#2A43B7#2A43B7

#2A43B7 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.2% C 0.185 H 268.2°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#2A43B7
RGBrgb(42, 67, 183)
HSLhsl(229, 63%, 44%)
HSVhsv(229, 77%, 72%)
CMYKcmyk(77%, 63.4%, 0%, 28.2%)
CIE-LABlab(33.82, 32.58, -63.85)
CIE-LCHlch(33.82, 71.69, 297.03°)
OKLaboklab(44.22% -0.0059 -0.1847)
OKLCHoklch(44.22% 0.185 268.2)
XYZxyz(11.5063, 7.9242, 45.7137)
Luminance0.0793 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A43B7 #B79E2A
analogous
#2A8AB7 #2A43B7 #582AB7
triadic
#2A43B7 #B72A43 #43B72A
tetradic
#2A43B7 #B72A8A #B79E2A #2AB758
square
#2A43B7 #B72A8A #B79E2A #2AB758
split-complementary
#2A43B7 #B7582A #8AB72A
monochromatic
#131F53 #1F3185 #2A43B7 #4962D5 #7B8DE1

Accessibility & contrast

On white

8.12
#2A43B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#2A43B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A43B7
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A43B7#FFFFFF#000000##FFFFFF
##2A43B71.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BB
Deuteranopia (green-blind)
#0049B5
Tritanopia (blue-blind)
#006177
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2a43b7;
/* rgb */ color: rgb(42, 67, 183);
/* oklch */ color: oklch(44.2% 0.185 268.2);
Tailwind
colors: {
  custom: {
    50: '#7a77ce',
    500: '#2a43b7',
    950: '#000000',
  },
}
SCSS
$custom: #2a43b7;
$custom-light: #7a77ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2a43b7",
  "rgb": {
    "r": 42,
    "g": 67,
    "b": 183
  },
  "hsl": {
    "h": 229.362,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.44222,
    "c": 0.18477,
    "h": 268.2
  },
  "luminance": 0.07925
}

Semantic roles & 50–950 ramp

primary
#2A43B7
secondary
#C9BA74
accent
#C942E6
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #2A43B7

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

Preview Lab → · Contrast checker → · Palette generator →

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