#2C43B3#2C43B3

#2C43B3 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 44.0% C 0.179 H 268.7°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#2C43B3
RGBrgb(44, 67, 179)
HSLhsl(230, 61%, 44%)
HSVhsv(230, 75%, 70%)
CMYKcmyk(75.4%, 62.6%, 0%, 29.8%)
CIE-LABlab(33.57, 31.32, -61.90)
CIE-LCHlch(33.57, 69.37, 296.84°)
OKLaboklab(43.95% -0.004 -0.1789)
OKLCHoklch(43.95% 0.179 268.7)
XYZxyz(11.1797, 7.8032, 43.5561)
Luminance0.0780 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C43B3 #B39C2C
analogous
#2C86B3 #2C43B3 #582CB3
triadic
#2C43B3 #B32C43 #43B32C
tetradic
#2C43B3 #B32C86 #B39C2C #2CB358
square
#2C43B3 #B32C86 #B39C2C #2CB358
split-complementary
#2C43B3 #B3582C #86B32C
monochromatic
#141E51 #203182 #2C43B3 #4A61D2 #7B8CDF

Accessibility & contrast

On white

8.20
#2C43B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#2C43B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C43B3
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C43B3#FFFFFF#000000##FFFFFF
##2C43B31.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B7
Deuteranopia (green-blind)
#0049B1
Tritanopia (blue-blind)
#006074
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2c43b3;
/* rgb */ color: rgb(44, 67, 179);
/* oklch */ color: oklch(44.0% 0.179 268.7);
Tailwind
colors: {
  custom: {
    50: '#7a77cb',
    500: '#2c43b3',
    950: '#000000',
  },
}
SCSS
$custom: #2c43b3;
$custom-light: #7a77cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2c43b3",
  "rgb": {
    "r": 44,
    "g": 67,
    "b": 179
  },
  "hsl": {
    "h": 229.778,
    "s": 60.538,
    "l": 43.725
  },
  "oklch": {
    "l": 0.43952,
    "c": 0.17895,
    "h": 268.7
  },
  "luminance": 0.07804
}

Semantic roles & 50–950 ramp

primary
#2C43B3
secondary
#C7B974
accent
#C844E4
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #2C43B3

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

Preview Lab → · Contrast checker → · Palette generator →

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