#2C2B4E#2C2B4E

#2C2B4E is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.8% C 0.062 H 283.4°. Best body text is #FFFFFF at 13.44:1 contrast (WCAG AA passes).

Color values

HEX#2C2B4E
RGBrgb(44, 43, 78)
HSLhsl(242, 29%, 24%)
HSVhsv(242, 45%, 31%)
CMYKcmyk(43.6%, 44.9%, 0%, 69.4%)
CIE-LABlab(19.28, 10.67, -21.44)
CIE-LCHlch(19.28, 23.95, 296.47°)
OKLaboklab(30.83% 0.0144 -0.0603)
OKLCHoklch(30.83% 0.062 283.4)
XYZxyz(3.2773, 2.8132, 7.5766)
Luminance0.0281 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2B4E #4D4E2B
analogous
#2B3B4E #2C2B4E #3D2B4E
triadic
#2C2B4E #4E2C2B #2B4E2C
tetradic
#2C2B4E #4E2B3B #4D4E2B #2B4E3D
square
#2C2B4E #4E2B3B #4D4E2B #2B4E3D
split-complementary
#2C2B4E #4E3D2B #3B4E2B
monochromatic
#0B0B14 #161527 #2C2B4E #424175 #59569D

Accessibility & contrast

On white

13.44
#2C2B4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#2C2B4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2B4E
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2B4E#FFFFFF#000000##FFFFFF
##2C2B4E1.0013.441.5613.44
#FFFFFF13.441.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F304F
Deuteranopia (green-blind)
#1E2E4D
Tritanopia (blue-blind)
#223238
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2c2b4e;
/* rgb */ color: rgb(44, 43, 78);
/* oklch */ color: oklch(30.8% 0.062 283.4);
Tailwind
colors: {
  custom: {
    50: '#676480',
    500: '#2c2b4e',
    950: '#000000',
  },
}
SCSS
$custom: #2c2b4e;
$custom-light: #676480;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2b4e",
  "rgb": {
    "r": 44,
    "g": 43,
    "b": 78
  },
  "hsl": {
    "h": 241.714,
    "s": 28.926,
    "l": 23.725
  },
  "oklch": {
    "l": 0.30826,
    "c": 0.06204,
    "h": 283.4
  },
  "luminance": 0.02813
}

Semantic roles & 50–950 ramp

primary
#2C2B4E
secondary
#7F8055
accent
#C563C2
background
#F6F5F7
surface
#EBEAEE
border
#C6C6C9
text
#06050A
muted
#7A797C

Preview Lab

Preview with #2C2B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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