#2A43BC#2A43BC

#2A43BC is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.7% C 0.191 H 268.2°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#2A43BC
RGBrgb(42, 67, 188)
HSLhsl(230, 63%, 45%)
HSVhsv(230, 78%, 74%)
CMYKcmyk(77.7%, 64.4%, 0%, 26.3%)
CIE-LABlab(34.26, 34.43, -66.08)
CIE-LCHlch(34.26, 74.51, 297.52°)
OKLaboklab(44.68% -0.0061 -0.1912)
OKLCHoklch(44.68% 0.191 268.2)
XYZxyz(12.0360, 8.1360, 48.5033)
Luminance0.0814 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A43BC #BCA32A
analogous
#2A8CBC #2A43BC #5A2ABC
triadic
#2A43BC #BC2A43 #43BC2A
tetradic
#2A43BC #BC2A8C #BCA32A #2ABC5A
square
#2A43BC #BC2A8C #BCA32A #2ABC5A
split-complementary
#2A43BC #BC5A2A #8CBC2A
monochromatic
#141F58 #1F318A #2A43BC #4C64D7 #7E8FE2

Accessibility & contrast

On white

7.99
#2A43BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#2A43BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A43BC
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A43BC#FFFFFF#000000##FFFFFF
##2A43BC1.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C0
Deuteranopia (green-blind)
#004ABA
Tritanopia (blue-blind)
#006379
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2a43bc;
/* rgb */ color: rgb(42, 67, 188);
/* oklch */ color: oklch(44.7% 0.191 268.2);
Tailwind
colors: {
  custom: {
    50: '#7b77d1',
    500: '#2a43bc',
    950: '#000000',
  },
}
SCSS
$custom: #2a43bc;
$custom-light: #7b77d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2a43bc",
  "rgb": {
    "r": 42,
    "g": 67,
    "b": 188
  },
  "hsl": {
    "h": 229.726,
    "s": 63.478,
    "l": 45.098
  },
  "oklch": {
    "l": 0.44681,
    "c": 0.1913,
    "h": 268.2
  },
  "luminance": 0.08137
}

Semantic roles & 50–950 ramp

primary
#2A43BC
secondary
#CBBC77
accent
#CA41E7
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0B0814
muted
#7C7B83

Preview Lab

Preview with #2A43BC

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

Preview Lab → · Contrast checker → · Palette generator →

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