#2C2EB9#2C2EB9

#2C2EB9 is a dark, highly saturated blue. Relative luminance 0.060; OKLCH L 41.1% C 0.209 H 271.8°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#2C2EB9
RGBrgb(44, 46, 185)
HSLhsl(239, 62%, 45%)
HSVhsv(239, 76%, 73%)
CMYKcmyk(76.2%, 75.1%, 0%, 27.5%)
CIE-LABlab(29.39, 46.30, -72.33)
CIE-LCHlch(29.39, 85.88, 302.63°)
OKLaboklab(41.1% 0.0066 -0.2094)
OKLCHoklch(41.1% 0.209 271.8)
XYZxyz(10.7697, 5.9911, 46.4783)
Luminance0.0599 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2EB9 #B9B72C
analogous
#2C74B9 #2C2EB9 #712CB9
triadic
#2C2EB9 #B92C2E #2EB92C
tetradic
#2C2EB9 #B92C74 #B9B72C #2CB971
square
#2C2EB9 #B92C74 #B9B72C #2CB971
split-complementary
#2C2EB9 #B9712C #74B92C
monochromatic
#141556 #202288 #2C2EB9 #4D4FD5 #7F80E1

Accessibility & contrast

On white

9.55
#2C2EB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#2C2EB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2EB9
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2EB9#FFFFFF#000000##FFFFFF
##2C2EB91.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CBD
Deuteranopia (green-blind)
#003EB7
Tritanopia (blue-blind)
#005771
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2c2eb9;
/* rgb */ color: rgb(44, 46, 185);
/* oklch */ color: oklch(41.1% 0.209 271.8);
Tailwind
colors: {
  custom: {
    50: '#7d69cf',
    500: '#2c2eb9',
    950: '#000000',
  },
}
SCSS
$custom: #2c2eb9;
$custom-light: #7d69cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2eb9",
  "rgb": {
    "r": 44,
    "g": 46,
    "b": 185
  },
  "hsl": {
    "h": 239.149,
    "s": 61.572,
    "l": 44.902
  },
  "oklch": {
    "l": 0.41098,
    "c": 0.20949,
    "h": 271.8
  },
  "luminance": 0.05992
}

Semantic roles & 50–950 ramp

primary
#2C2EB9
secondary
#C9C878
accent
#E243E5
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #2C2EB9

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

Preview Lab → · Contrast checker → · Palette generator →

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