#2C2EA0#2C2EA0

#2C2EA0 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.5% C 0.178 H 273.4°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#2C2EA0
RGBrgb(44, 46, 160)
HSLhsl(239, 57%, 40%)
HSVhsv(239, 73%, 63%)
CMYKcmyk(72.5%, 71.2%, 0%, 37.3%)
CIE-LABlab(26.81, 37.82, -61.58)
CIE-LCHlch(26.81, 72.27, 301.56°)
OKLaboklab(38.49% 0.0107 -0.1781)
OKLCHoklch(38.49% 0.178 273.4)
XYZxyz(8.3587, 5.0267, 33.7806)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2EA0 #A09E2C
analogous
#2C68A0 #2C2EA0 #642CA0
triadic
#2C2EA0 #A02C2E #2EA02C
tetradic
#2C2EA0 #A02C68 #A09E2C #2CA064
square
#2C2EA0 #A02C68 #A09E2C #2CA064
split-complementary
#2C2EA0 #A0642C #68A02C
monochromatic
#121240 #1F2070 #2C2EA0 #3F41CA #6F71D7

Accessibility & contrast

On white

10.47
#2C2EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#2C2EA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2EA0
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2EA0#FFFFFF#000000##FFFFFF
##2C2EA01.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A3
Deuteranopia (green-blind)
#003A9E
Tritanopia (blue-blind)
#004E63
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2c2ea0;
/* rgb */ color: rgb(44, 46, 160);
/* oklch */ color: oklch(38.5% 0.178 273.4);
Tailwind
colors: {
  custom: {
    50: '#7768bd',
    500: '#2c2ea0',
    950: '#000000',
  },
}
SCSS
$custom: #2c2ea0;
$custom-light: #7768bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2ea0",
  "rgb": {
    "r": 44,
    "g": 46,
    "b": 160
  },
  "hsl": {
    "h": 238.966,
    "s": 56.863,
    "l": 40
  },
  "oklch": {
    "l": 0.38488,
    "c": 0.1784,
    "h": 273.4
  },
  "luminance": 0.05028
}

Semantic roles & 50–950 ramp

primary
#2C2EA0
secondary
#BFBD69
accent
#DE48E0
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2C2EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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