#2C2EB5#2C2EB5

#2C2EB5 is a dark, highly saturated blue. Relative luminance 0.058; OKLCH L 40.7% C 0.205 H 272.0°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#2C2EB5
RGBrgb(44, 46, 181)
HSLhsl(239, 61%, 44%)
HSVhsv(239, 76%, 71%)
CMYKcmyk(75.7%, 74.6%, 0%, 29%)
CIE-LABlab(28.97, 44.97, -70.66)
CIE-LCHlch(28.97, 83.76, 302.48°)
OKLaboklab(40.67% 0.0073 -0.2045)
OKLCHoklch(40.67% 0.205 272)
XYZxyz(10.3534, 5.8246, 44.2857)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2EB5 #B5B32C
analogous
#2C73B5 #2C2EB5 #6F2CB5
triadic
#2C2EB5 #B52C2E #2EB52C
tetradic
#2C2EB5 #B52C73 #B5B32C #2CB56F
square
#2C2EB5 #B52C73 #B5B32C #2CB56F
split-complementary
#2C2EB5 #B56F2C #73B52C
monochromatic
#141553 #202184 #2C2EB5 #4B4DD3 #7C7EDF

Accessibility & contrast

On white

9.70
#2C2EB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#2C2EB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2EB5
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2EB5#FFFFFF#000000##FFFFFF
##2C2EB51.009.702.179.70
#FFFFFF9.701.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB9
Deuteranopia (green-blind)
#003DB3
Tritanopia (blue-blind)
#00556F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2c2eb5;
/* rgb */ color: rgb(44, 46, 181);
/* oklch */ color: oklch(40.7% 0.205 272.0);
Tailwind
colors: {
  custom: {
    50: '#7c68cc',
    500: '#2c2eb5',
    950: '#000000',
  },
}
SCSS
$custom: #2c2eb5;
$custom-light: #7c68cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2eb5",
  "rgb": {
    "r": 44,
    "g": 46,
    "b": 181
  },
  "hsl": {
    "h": 239.124,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.40671,
    "c": 0.20465,
    "h": 272
  },
  "luminance": 0.05826
}

Semantic roles & 50–950 ramp

primary
#2C2EB5
secondary
#C8C675
accent
#E244E4
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0614
muted
#7C7A82

Preview Lab

Preview with #2C2EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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