#2A43B5#2A43B5

#2A43B5 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 44.0% C 0.182 H 268.2°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#2A43B5
RGBrgb(42, 67, 181)
HSLhsl(229, 62%, 44%)
HSVhsv(229, 77%, 71%)
CMYKcmyk(76.8%, 63%, 0%, 29%)
CIE-LABlab(33.65, 31.84, -62.96)
CIE-LCHlch(33.65, 70.55, 296.83°)
OKLaboklab(44.04% -0.0059 -0.182)
OKLCHoklch(44.04% 0.182 268.2)
XYZxyz(11.2996, 7.8415, 44.6251)
Luminance0.0784 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A43B5 #B59C2A
analogous
#2A88B5 #2A43B5 #562AB5
triadic
#2A43B5 #B52A43 #43B52A
tetradic
#2A43B5 #B52A88 #B59C2A #2AB556
square
#2A43B5 #B52A88 #B59C2A #2AB556
split-complementary
#2A43B5 #B5562A #88B52A
monochromatic
#131E52 #1E3183 #2A43B5 #4861D4 #798CE0

Accessibility & contrast

On white

8.18
#2A43B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#2A43B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A43B5
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A43B5#FFFFFF#000000##FFFFFF
##2A43B51.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B9
Deuteranopia (green-blind)
#0049B3
Tritanopia (blue-blind)
#006175
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2a43b5;
/* rgb */ color: rgb(42, 67, 181);
/* oklch */ color: oklch(44.0% 0.182 268.2);
Tailwind
colors: {
  custom: {
    50: '#7977cc',
    500: '#2a43b5',
    950: '#000000',
  },
}
SCSS
$custom: #2a43b5;
$custom-light: #7977cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2a43b5",
  "rgb": {
    "r": 42,
    "g": 67,
    "b": 181
  },
  "hsl": {
    "h": 229.209,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.4404,
    "c": 0.18213,
    "h": 268.2
  },
  "luminance": 0.07843
}

Semantic roles & 50–950 ramp

primary
#2A43B5
secondary
#C8B973
accent
#C842E5
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #2A43B5

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

Preview Lab → · Contrast checker → · Palette generator →

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