#2C43A3#2C43A3

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

Color values

HEX#2C43A3
RGBrgb(44, 67, 163)
HSLhsl(228, 57%, 41%)
HSVhsv(228, 73%, 64%)
CMYKcmyk(73%, 58.9%, 0%, 36.1%)
CIE-LABlab(32.24, 25.35, -54.51)
CIE-LCHlch(32.24, 60.11, 294.94°)
OKLaboklab(42.55% -0.004 -0.1572)
OKLCHoklch(42.55% 0.157 268.5)
XYZxyz(9.6544, 7.1931, 35.5228)
Luminance0.0719 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C43A3 #A38C2C
analogous
#2C7FA3 #2C43A3 #502CA3
triadic
#2C43A3 #A32C43 #43A32C
tetradic
#2C43A3 #A32C7F #A38C2C #2CA350
square
#2C43A3 #A32C7F #A38C2C #2CA350
split-complementary
#2C43A3 #A3502C #7FA32C
monochromatic
#121B43 #1F2F73 #2C43A3 #415BCC #7185D9

Accessibility & contrast

On white

8.61
#2C43A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#2C43A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C43A3
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C43A3#FFFFFF#000000##FFFFFF
##2C43A31.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A6
Deuteranopia (green-blind)
#0047A1
Tritanopia (blue-blind)
#005B6C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2c43a3;
/* rgb */ color: rgb(44, 67, 163);
/* oklch */ color: oklch(42.6% 0.157 268.5);
Tailwind
colors: {
  custom: {
    50: '#7676bf',
    500: '#2c43a3',
    950: '#000000',
  },
}
SCSS
$custom: #2c43a3;
$custom-light: #7676bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2c43a3",
  "rgb": {
    "r": 44,
    "g": 67,
    "b": 163
  },
  "hsl": {
    "h": 228.403,
    "s": 57.488,
    "l": 40.588
  },
  "oklch": {
    "l": 0.42553,
    "c": 0.15726,
    "h": 268.5
  },
  "luminance": 0.07194
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C43A3

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

Preview Lab → · Contrast checker → · Palette generator →

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