#2C2EA7#2C2EA7

#2C2EA7 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.2% C 0.187 H 272.9°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#2C2EA7
RGBrgb(44, 46, 167)
HSLhsl(239, 58%, 41%)
HSVhsv(239, 74%, 65%)
CMYKcmyk(73.7%, 72.5%, 0%, 34.5%)
CIE-LABlab(27.51, 40.24, -64.66)
CIE-LCHlch(27.51, 76.16, 301.89°)
OKLaboklab(39.2% 0.0096 -0.1871)
OKLCHoklch(39.2% 0.187 272.9)
XYZxyz(8.9884, 5.2786, 37.0969)
Luminance0.0528 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2EA7 #A7A52C
analogous
#2C6CA7 #2C2EA7 #682CA7
triadic
#2C2EA7 #A72C2E #2EA72C
tetradic
#2C2EA7 #A72C6C #A7A52C #2CA768
square
#2C2EA7 #A72C6C #A7A52C #2CA768
split-complementary
#2C2EA7 #A7682C #6CA72C
monochromatic
#121346 #1F2177 #2C2EA7 #4345CD #7375DA

Accessibility & contrast

On white

10.22
#2C2EA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#2C2EA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2EA7
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2EA7#FFFFFF#000000##FFFFFF
##2C2EA71.0010.222.0610.22
#FFFFFF10.221.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AB
Deuteranopia (green-blind)
#003BA5
Tritanopia (blue-blind)
#005067
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2c2ea7;
/* rgb */ color: rgb(44, 46, 167);
/* oklch */ color: oklch(39.2% 0.187 272.9);
Tailwind
colors: {
  custom: {
    50: '#7968c2',
    500: '#2c2ea7',
    950: '#000000',
  },
}
SCSS
$custom: #2c2ea7;
$custom-light: #7968c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2ea7",
  "rgb": {
    "r": 44,
    "g": 46,
    "b": 167
  },
  "hsl": {
    "h": 239.024,
    "s": 58.294,
    "l": 41.373
  },
  "oklch": {
    "l": 0.39204,
    "c": 0.18732,
    "h": 272.9
  },
  "luminance": 0.05279
}

Semantic roles & 50–950 ramp

primary
#2C2EA7
secondary
#C2C06D
accent
#DF46E2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #2C2EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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