#2B43A6#2B43A6

#2B43A6 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.8% C 0.162 H 268.3°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#2B43A6
RGBrgb(43, 67, 166)
HSLhsl(228, 59%, 41%)
HSVhsv(228, 74%, 65%)
CMYKcmyk(74.1%, 59.6%, 0%, 34.9%)
CIE-LABlab(32.44, 26.35, -56.00)
CIE-LCHlch(32.44, 61.89, 295.20°)
OKLaboklab(42.76% -0.0049 -0.1616)
OKLCHoklch(42.76% 0.162 268.3)
XYZxyz(9.8840, 7.2800, 36.9533)
Luminance0.0728 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B43A6 #A68E2B
analogous
#2B80A6 #2B43A6 #502BA6
triadic
#2B43A6 #A62B43 #43A62B
tetradic
#2B43A6 #A62B80 #A68E2B #2BA650
square
#2B43A6 #A62B80 #A68E2B #2BA650
split-complementary
#2B43A6 #A6502B #80A62B
monochromatic
#121C45 #1E2F75 #2B43A6 #415CCE #7186DA

Accessibility & contrast

On white

8.55
#2B43A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#2B43A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B43A6
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B43A6#FFFFFF#000000##FFFFFF
##2B43A61.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A9
Deuteranopia (green-blind)
#0047A4
Tritanopia (blue-blind)
#005C6E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2b43a6;
/* rgb */ color: rgb(43, 67, 166);
/* oklch */ color: oklch(42.8% 0.162 268.3);
Tailwind
colors: {
  custom: {
    50: '#7676c1',
    500: '#2b43a6',
    950: '#000000',
  },
}
SCSS
$custom: #2b43a6;
$custom-light: #7676c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2b43a6",
  "rgb": {
    "r": 43,
    "g": 67,
    "b": 166
  },
  "hsl": {
    "h": 228.293,
    "s": 58.852,
    "l": 40.98
  },
  "oklch": {
    "l": 0.4276,
    "c": 0.16168,
    "h": 268.3
  },
  "luminance": 0.07281
}

Semantic roles & 50–950 ramp

primary
#2B43A6
secondary
#C1B16B
accent
#C446E2
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2B43A6

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

Preview Lab → · Contrast checker → · Palette generator →

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