#2C43A2#2C43A2

#2C43A2 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.5% C 0.156 H 268.5°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#2C43A2
RGBrgb(44, 67, 162)
HSLhsl(228, 57%, 40%)
HSVhsv(228, 73%, 64%)
CMYKcmyk(72.8%, 58.6%, 0%, 36.5%)
CIE-LABlab(32.16, 24.97, -54.03)
CIE-LCHlch(32.16, 59.53, 294.81°)
OKLaboklab(42.47% -0.004 -0.1558)
OKLCHoklch(42.47% 0.156 268.5)
XYZxyz(9.5652, 7.1574, 35.0528)
Luminance0.0716 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C43A2 #A28B2C
analogous
#2C7EA2 #2C43A2 #502CA2
triadic
#2C43A2 #A22C43 #43A22C
tetradic
#2C43A2 #A22C7E #A28B2C #2CA250
square
#2C43A2 #A22C7E #A28B2C #2CA250
split-complementary
#2C43A2 #A2502C #7EA22C
monochromatic
#121B42 #1F2F72 #2C43A2 #405BCB #7084D8

Accessibility & contrast

On white

8.64
#2C43A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#2C43A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C43A2
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C43A2#FFFFFF#000000##FFFFFF
##2C43A21.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A5
Deuteranopia (green-blind)
#0046A0
Tritanopia (blue-blind)
#005B6C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2c43a2;
/* rgb */ color: rgb(44, 67, 162);
/* oklch */ color: oklch(42.5% 0.156 268.5);
Tailwind
colors: {
  custom: {
    50: '#7676be',
    500: '#2c43a2',
    950: '#000000',
  },
}
SCSS
$custom: #2c43a2;
$custom-light: #7676be;
$custom-dark: #000000;
JSON
{
  "hex": "#2c43a2",
  "rgb": {
    "r": 44,
    "g": 67,
    "b": 162
  },
  "hsl": {
    "h": 228.305,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.42469,
    "c": 0.15587,
    "h": 268.5
  },
  "luminance": 0.07158
}

Semantic roles & 50–950 ramp

primary
#2C43A2
secondary
#BFAF6A
accent
#C347E1
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2C43A2

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

Preview Lab → · Contrast checker → · Palette generator →

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