#2A43B6#2A43B6

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

Color values

HEX#2A43B6
RGBrgb(42, 67, 182)
HSLhsl(229, 63%, 44%)
HSVhsv(229, 77%, 71%)
CMYKcmyk(76.9%, 63.2%, 0%, 28.6%)
CIE-LABlab(33.74, 32.21, -63.41)
CIE-LCHlch(33.74, 71.12, 296.93°)
OKLaboklab(44.13% -0.0059 -0.1834)
OKLCHoklch(44.13% 0.183 268.2)
XYZxyz(11.4026, 7.8827, 45.1675)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A43B6 #B69D2A
analogous
#2A89B6 #2A43B6 #572AB6
triadic
#2A43B6 #B62A43 #43B62A
tetradic
#2A43B6 #B62A89 #B69D2A #2AB657
square
#2A43B6 #B62A89 #B69D2A #2AB657
split-complementary
#2A43B6 #B6572A #89B62A
monochromatic
#131E53 #1F3184 #2A43B6 #4861D5 #7A8CE0

Accessibility & contrast

On white

8.15
#2A43B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#2A43B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A43B6
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A43B6#FFFFFF#000000##FFFFFF
##2A43B61.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BA
Deuteranopia (green-blind)
#0049B4
Tritanopia (blue-blind)
#006176
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2a43b6;
/* rgb */ color: rgb(42, 67, 182);
/* oklch */ color: oklch(44.1% 0.183 268.2);
Tailwind
colors: {
  custom: {
    50: '#7a77cd',
    500: '#2a43b6',
    950: '#000000',
  },
}
SCSS
$custom: #2a43b6;
$custom-light: #7a77cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2a43b6",
  "rgb": {
    "r": 42,
    "g": 67,
    "b": 182
  },
  "hsl": {
    "h": 229.286,
    "s": 62.5,
    "l": 43.922
  },
  "oklch": {
    "l": 0.44131,
    "c": 0.18345,
    "h": 268.2
  },
  "luminance": 0.07884
}

Semantic roles & 50–950 ramp

primary
#2A43B6
secondary
#C8B973
accent
#C842E6
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #2A43B6

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

Preview Lab → · Contrast checker → · Palette generator →

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