#2A43C0#2A43C0

#2A43C0 is a mid, vivid blue. Relative luminance 0.083; OKLCH L 45.1% C 0.196 H 268.2°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#2A43C0
RGBrgb(42, 67, 192)
HSLhsl(230, 64%, 46%)
HSVhsv(230, 78%, 75%)
CMYKcmyk(78.1%, 65.1%, 0%, 24.7%)
CIE-LABlab(34.62, 35.89, -67.85)
CIE-LCHlch(34.62, 76.75, 297.88°)
OKLaboklab(45.05% -0.0062 -0.1963)
OKLCHoklch(45.05% 0.196 268.2)
XYZxyz(12.4731, 8.3109, 50.8057)
Luminance0.0831 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A43C0 #C0A72A
analogous
#2A8EC0 #2A43C0 #5C2AC0
triadic
#2A43C0 #C02A43 #43C02A
tetradic
#2A43C0 #C02A8E #C0A72A #2AC05C
square
#2A43C0 #C02A8E #C0A72A #2AC05C
split-complementary
#2A43C0 #C05C2A #8EC02A
monochromatic
#14205C #1F318E #2A43C0 #4F66D8 #8191E3

Accessibility & contrast

On white

7.89
#2A43C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#2A43C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A43C0
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A43C0#FFFFFF#000000##FFFFFF
##2A43C01.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C4
Deuteranopia (green-blind)
#004ABE
Tritanopia (blue-blind)
#00647B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2a43c0;
/* rgb */ color: rgb(42, 67, 192);
/* oklch */ color: oklch(45.1% 0.196 268.2);
Tailwind
colors: {
  custom: {
    50: '#7c77d4',
    500: '#2a43c0',
    950: '#000000',
  },
}
SCSS
$custom: #2a43c0;
$custom-light: #7c77d4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a43c0",
  "rgb": {
    "r": 42,
    "g": 67,
    "b": 192
  },
  "hsl": {
    "h": 230,
    "s": 64.103,
    "l": 45.882
  },
  "oklch": {
    "l": 0.45053,
    "c": 0.19645,
    "h": 268.2
  },
  "luminance": 0.08312
}

Semantic roles & 50–950 ramp

primary
#2A43C0
secondary
#CCBE7A
accent
#CB41E7
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0B0814
muted
#7C7B83

Preview Lab

Preview with #2A43C0

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

Preview Lab → · Contrast checker → · Palette generator →

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