#2C2AA0#2C2AA0

#2C2AA0 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.9% C 0.183 H 274.1°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#2C2AA0
RGBrgb(44, 42, 160)
HSLhsl(241, 58%, 40%)
HSVhsv(241, 74%, 63%)
CMYKcmyk(72.5%, 73.8%, 0%, 37.3%)
CIE-LABlab(25.95, 40.21, -63.00)
CIE-LCHlch(25.95, 74.74, 302.55°)
OKLaboklab(37.87% 0.0129 -0.1822)
OKLCHoklch(37.87% 0.183 274.1)
XYZxyz(8.2097, 4.7287, 33.7310)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2AA0 #9EA02A
analogous
#2A63A0 #2C2AA0 #672AA0
triadic
#2C2AA0 #A02C2A #2AA02C
tetradic
#2C2AA0 #A02A63 #9EA02A #2AA067
square
#2C2AA0 #A02A63 #9EA02A #2AA067
split-complementary
#2C2AA0 #A0672A #63A02A
monochromatic
#11113F #1F1D70 #2C2AA0 #3E3CCC #6E6CD8

Accessibility & contrast

On white

10.79
#2C2AA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#2C2AA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2AA0
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2AA0#FFFFFF#000000##FFFFFF
##2C2AA01.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A3
Deuteranopia (green-blind)
#00389E
Tritanopia (blue-blind)
#004C62
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2c2aa0;
/* rgb */ color: rgb(44, 42, 160);
/* oklch */ color: oklch(37.9% 0.183 274.1);
Tailwind
colors: {
  custom: {
    50: '#7765bd',
    500: '#2c2aa0',
    950: '#000000',
  },
}
SCSS
$custom: #2c2aa0;
$custom-light: #7765bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2aa0",
  "rgb": {
    "r": 44,
    "g": 42,
    "b": 160
  },
  "hsl": {
    "h": 241.017,
    "s": 58.416,
    "l": 39.608
  },
  "oklch": {
    "l": 0.3787,
    "c": 0.18268,
    "h": 274.1
  },
  "luminance": 0.04729
}

Semantic roles & 50–950 ramp

primary
#2C2AA0
secondary
#BEBF67
accent
#E246DF
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2C2AA0

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

Preview Lab → · Contrast checker → · Palette generator →

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