#2C43B1#2C43B1

#2C43B1 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.8% C 0.176 H 268.7°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#2C43B1
RGBrgb(44, 67, 177)
HSLhsl(230, 60%, 43%)
HSVhsv(230, 75%, 69%)
CMYKcmyk(75.1%, 62.1%, 0%, 30.6%)
CIE-LABlab(33.40, 30.58, -60.99)
CIE-LCHlch(33.40, 68.23, 296.63°)
OKLaboklab(43.77% -0.004 -0.1762)
OKLCHoklch(43.77% 0.176 268.7)
XYZxyz(10.9789, 7.7229, 42.4985)
Luminance0.0772 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C43B1 #B19A2C
analogous
#2C85B1 #2C43B1 #572CB1
triadic
#2C43B1 #B12C43 #43B12C
tetradic
#2C43B1 #B12C85 #B19A2C #2CB157
square
#2C43B1 #B12C85 #B19A2C #2CB157
split-complementary
#2C43B1 #B1572C #85B12C
monochromatic
#141E4F #203080 #2C43B1 #4960D2 #7A8BDE

Accessibility & contrast

On white

8.25
#2C43B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#2C43B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C43B1
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C43B1#FFFFFF#000000##FFFFFF
##2C43B11.008.252.548.25
#FFFFFF8.251.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B5
Deuteranopia (green-blind)
#0048AF
Tritanopia (blue-blind)
#005F73
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2c43b1;
/* rgb */ color: rgb(44, 67, 177);
/* oklch */ color: oklch(43.8% 0.176 268.7);
Tailwind
colors: {
  custom: {
    50: '#7977c9',
    500: '#2c43b1',
    950: '#000000',
  },
}
SCSS
$custom: #2c43b1;
$custom-light: #7977c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c43b1",
  "rgb": {
    "r": 44,
    "g": 67,
    "b": 177
  },
  "hsl": {
    "h": 229.624,
    "s": 60.181,
    "l": 43.333
  },
  "oklch": {
    "l": 0.43773,
    "c": 0.17629,
    "h": 268.7
  },
  "luminance": 0.07724
}

Semantic roles & 50–950 ramp

primary
#2C43B1
secondary
#C6B873
accent
#C844E3
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #2C43B1

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

Preview Lab → · Contrast checker → · Palette generator →

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