#2C2EB3#2C2EB3

#2C2EB3 is a dark, highly saturated blue. Relative luminance 0.057; OKLCH L 40.5% C 0.202 H 272.2°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#2C2EB3
RGBrgb(44, 46, 179)
HSLhsl(239, 61%, 44%)
HSVhsv(239, 75%, 70%)
CMYKcmyk(75.4%, 74.3%, 0%, 29.8%)
CIE-LABlab(28.75, 44.31, -69.81)
CIE-LCHlch(28.75, 82.68, 302.40°)
OKLaboklab(40.46% 0.0076 -0.2021)
OKLCHoklch(40.46% 0.202 272.2)
XYZxyz(10.1496, 5.7431, 43.2127)
Luminance0.0574 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2EB3 #B3B12C
analogous
#2C71B3 #2C2EB3 #6D2CB3
triadic
#2C2EB3 #B32C2E #2EB32C
tetradic
#2C2EB3 #B32C71 #B3B12C #2CB36D
square
#2C2EB3 #B32C71 #B3B12C #2CB36D
split-complementary
#2C2EB3 #B36D2C #71B32C
monochromatic
#141551 #202182 #2C2EB3 #4A4CD2 #7B7CDF

Accessibility & contrast

On white

9.77
#2C2EB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#2C2EB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2EB3
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2EB3#FFFFFF#000000##FFFFFF
##2C2EB31.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB7
Deuteranopia (green-blind)
#003DB1
Tritanopia (blue-blind)
#00556E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2c2eb3;
/* rgb */ color: rgb(44, 46, 179);
/* oklch */ color: oklch(40.5% 0.202 272.2);
Tailwind
colors: {
  custom: {
    50: '#7c68cb',
    500: '#2c2eb3',
    950: '#000000',
  },
}
SCSS
$custom: #2c2eb3;
$custom-light: #7c68cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2eb3",
  "rgb": {
    "r": 44,
    "g": 46,
    "b": 179
  },
  "hsl": {
    "h": 239.111,
    "s": 60.538,
    "l": 43.725
  },
  "oklch": {
    "l": 0.40459,
    "c": 0.20221,
    "h": 272.2
  },
  "luminance": 0.05744
}

Semantic roles & 50–950 ramp

primary
#2C2EB3
secondary
#C7C674
accent
#E144E4
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2C2EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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