#2C2CA0#2C2CA0

#2C2CA0 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.2% C 0.181 H 273.8°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#2C2CA0
RGBrgb(44, 44, 160)
HSLhsl(240, 57%, 40%)
HSVhsv(240, 73%, 63%)
CMYKcmyk(72.5%, 72.5%, 0%, 37.3%)
CIE-LABlab(26.37, 39.03, -62.30)
CIE-LCHlch(26.37, 73.52, 302.06°)
OKLaboklab(38.17% 0.0118 -0.1802)
OKLCHoklch(38.17% 0.181 273.8)
XYZxyz(8.2824, 4.8741, 33.7552)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2CA0 #A0A02C
analogous
#2C66A0 #2C2CA0 #662CA0
triadic
#2C2CA0 #A02C2C #2CA02C
tetradic
#2C2CA0 #A02C66 #A0A02C #2CA066
square
#2C2CA0 #A02C66 #A0A02C #2CA066
split-complementary
#2C2CA0 #A0662C #66A02C
monochromatic
#121240 #1F1F70 #2C2CA0 #3F3FCA #6F6FD7

Accessibility & contrast

On white

10.63
#2C2CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#2C2CA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2CA0
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2CA0#FFFFFF#000000##FFFFFF
##2C2CA01.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A3
Deuteranopia (green-blind)
#00399E
Tritanopia (blue-blind)
#004D63
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2c2ca0;
/* rgb */ color: rgb(44, 44, 160);
/* oklch */ color: oklch(38.2% 0.181 273.8);
Tailwind
colors: {
  custom: {
    50: '#7766bd',
    500: '#2c2ca0',
    950: '#000000',
  },
}
SCSS
$custom: #2c2ca0;
$custom-light: #7766bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2ca0",
  "rgb": {
    "r": 44,
    "g": 44,
    "b": 160
  },
  "hsl": {
    "h": 240,
    "s": 56.863,
    "l": 40
  },
  "oklch": {
    "l": 0.38174,
    "c": 0.18057,
    "h": 273.8
  },
  "luminance": 0.04875
}

Semantic roles & 50–950 ramp

primary
#2C2CA0
secondary
#BFBF69
accent
#E048E0
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2C2CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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