#2C2A60#2C2A60

#2C2A60 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.9% C 0.093 H 281.4°. Best body text is #FFFFFF at 13.07:1 contrast (WCAG AA passes).

Color values

HEX#2C2A60
RGBrgb(44, 42, 96)
HSLhsl(242, 39%, 27%)
HSVhsv(242, 56%, 38%)
CMYKcmyk(54.2%, 56.3%, 0%, 62.4%)
CIE-LABlab(20.19, 17.61, -31.98)
CIE-LCHlch(20.19, 36.51, 298.84°)
OKLaboklab(31.9% 0.0184 -0.0913)
OKLCHoklch(31.9% 0.093 281.4)
XYZxyz(3.9773, 3.0357, 11.4404)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2A60 #5E602A
analogous
#2A4360 #2C2A60 #472A60
triadic
#2C2A60 #602C2A #2A602C
tetradic
#2C2A60 #602A43 #5E602A #2A6047
square
#2C2A60 #602A43 #5E602A #2A6047
split-complementary
#2C2A60 #60472A #43602A
monochromatic
#0A0915 #181735 #2C2A60 #403D8B #5551B3

Accessibility & contrast

On white

13.07
#2C2A60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#2C2A60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2A60
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2A60#FFFFFF#000000##FFFFFF
##2C2A601.0013.071.6113.07
#FFFFFF13.071.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E3362
Deuteranopia (green-blind)
#082F5F
Tritanopia (blue-blind)
#183640
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2c2a60;
/* rgb */ color: rgb(44, 42, 96);
/* oklch */ color: oklch(31.9% 0.093 281.4);
Tailwind
colors: {
  custom: {
    50: '#6a638d',
    500: '#2c2a60',
    950: '#000000',
  },
}
SCSS
$custom: #2c2a60;
$custom-light: #6a638d;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2a60",
  "rgb": {
    "r": 44,
    "g": 42,
    "b": 96
  },
  "hsl": {
    "h": 242.222,
    "s": 39.13,
    "l": 27.059
  },
  "oklch": {
    "l": 0.31899,
    "c": 0.09311,
    "h": 281.4
  },
  "luminance": 0.03036
}

Semantic roles & 50–950 ramp

primary
#2C2A60
secondary
#909253
accent
#CF59CB
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#07050C
muted
#7A797D

Preview Lab

Preview with #2C2A60

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

Preview Lab → · Contrast checker → · Palette generator →

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