#2C2EA6#2C2EA6

#2C2EA6 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.1% C 0.186 H 273.0°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#2C2EA6
RGBrgb(44, 46, 166)
HSLhsl(239, 58%, 41%)
HSVhsv(239, 73%, 65%)
CMYKcmyk(73.5%, 72.3%, 0%, 34.9%)
CIE-LABlab(27.41, 39.89, -64.23)
CIE-LCHlch(27.41, 75.61, 301.85°)
OKLaboklab(39.1% 0.0098 -0.1858)
OKLCHoklch(39.1% 0.186 273)
XYZxyz(8.8963, 5.2417, 36.6119)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2EA6 #A6A42C
analogous
#2C6BA6 #2C2EA6 #672CA6
triadic
#2C2EA6 #A62C2E #2EA62C
tetradic
#2C2EA6 #A62C6B #A6A42C #2CA667
square
#2C2EA6 #A62C6B #A6A42C #2CA667
split-complementary
#2C2EA6 #A6672C #6BA62C
monochromatic
#121345 #1F2176 #2C2EA6 #4245CD #7374DA

Accessibility & contrast

On white

10.25
#2C2EA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#2C2EA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2EA6
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2EA6#FFFFFF#000000##FFFFFF
##2C2EA61.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c2ea6;
/* rgb */ color: rgb(44, 46, 166);
/* oklch */ color: oklch(39.1% 0.186 273.0);
Tailwind
colors: {
  custom: {
    50: '#7868c2',
    500: '#2c2ea6',
    950: '#000000',
  },
}
SCSS
$custom: #2c2ea6;
$custom-light: #7868c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2ea6",
  "rgb": {
    "r": 44,
    "g": 46,
    "b": 166
  },
  "hsl": {
    "h": 239.016,
    "s": 58.095,
    "l": 41.176
  },
  "oklch": {
    "l": 0.39101,
    "c": 0.18605,
    "h": 273
  },
  "luminance": 0.05243
}

Semantic roles & 50–950 ramp

primary
#2C2EA6
secondary
#C1C06D
accent
#DF46E1
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2C2EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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