#2A43B3#2A43B3

#2A43B3 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.9% C 0.179 H 268.1°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#2A43B3
RGBrgb(42, 67, 179)
HSLhsl(229, 62%, 43%)
HSVhsv(229, 77%, 70%)
CMYKcmyk(76.5%, 62.6%, 0%, 29.8%)
CIE-LABlab(33.48, 31.10, -62.05)
CIE-LCHlch(33.48, 69.41, 296.62°)
OKLaboklab(43.86% -0.0058 -0.1794)
OKLCHoklch(43.86% 0.179 268.1)
XYZxyz(11.0959, 7.7600, 43.5521)
Luminance0.0776 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A43B3 #B39A2A
analogous
#2A87B3 #2A43B3 #552AB3
triadic
#2A43B3 #B32A43 #43B32A
tetradic
#2A43B3 #B32A87 #B39A2A #2AB355
square
#2A43B3 #B32A87 #B39A2A #2AB355
split-complementary
#2A43B3 #B3552A #87B32A
monochromatic
#131E50 #1E3081 #2A43B3 #4660D4 #788BDF

Accessibility & contrast

On white

8.23
#2A43B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#2A43B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A43B3
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A43B3#FFFFFF#000000##FFFFFF
##2A43B31.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B7
Deuteranopia (green-blind)
#0048B1
Tritanopia (blue-blind)
#006074
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2a43b3;
/* rgb */ color: rgb(42, 67, 179);
/* oklch */ color: oklch(43.9% 0.179 268.1);
Tailwind
colors: {
  custom: {
    50: '#7977cb',
    500: '#2a43b3',
    950: '#000000',
  },
}
SCSS
$custom: #2a43b3;
$custom-light: #7977cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2a43b3",
  "rgb": {
    "r": 42,
    "g": 67,
    "b": 179
  },
  "hsl": {
    "h": 229.051,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.43859,
    "c": 0.17949,
    "h": 268.1
  },
  "luminance": 0.07761
}

Semantic roles & 50–950 ramp

primary
#2A43B3
secondary
#C7B872
accent
#C743E5
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #2A43B3

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

Preview Lab → · Contrast checker → · Palette generator →

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